Commit 74591e05 authored by Ell's avatar Ell

app: properly shut down gimp-parallel in stable versions

In app_exit_after_callback(), call gimp_gegl_exit() before
gegl_exit() when performing a quick shut-down in stable versions,
so that gimp-parallel, and, in particular, the async thread pool,
is properly shut down.  Code running in the async thread pool may
use GEGL (in particular, now the drawable previews are rendered
asynchronously), and calling gegl_exit() while it's still running
is unsafe.

(cherry picked from commit ed033b1c)
parent 4f202556
......@@ -499,6 +499,8 @@ app_exit_after_callback (Gimp *gimp,
#else
gimp_gegl_exit (gimp);
gegl_exit ();
exit (EXIT_SUCCESS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment