app: do the quick exit on point releases, whether stable or unstable.

The other way around, we were going to have the quick'n dirty exit for
the whole 3.0 stable branch, which is obviously not what we want. We
want the clean exit for all developer builds, even within a stable
branch.
This commit is contained in:
Jehan 2024-08-29 18:26:38 +02:00
parent 10e8b5d0c1
commit 6a465876ec
1 changed files with 8 additions and 8 deletions

View File

@ -547,19 +547,15 @@ app_exit_after_callback (Gimp *gimp,
g_print ("EXIT: %s\n", G_STRFUNC);
/*
* In stable releases, we simply call exit() here. This speeds up
* the process of quitting GIMP and also works around the problem
* that plug-ins might still be running.
* In releases, we simply call exit() here. This speeds up the
* process of quitting GIMP and also works around the problem that
* plug-ins might still be running.
*
* In unstable releases, we shut down GIMP properly in an attempt
* to catch possible problems in our finalizers.
*/
#ifdef GIMP_UNSTABLE
g_application_quit (G_APPLICATION (app));
#else
#ifdef GIMP_RELEASE
gimp_gegl_exit (gimp);
@ -567,6 +563,10 @@ app_exit_after_callback (Gimp *gimp,
exit (gimp_core_app_get_exit_status (GIMP_CORE_APP (app)));
#else
g_application_quit (G_APPLICATION (app));
#endif
return FALSE;