mirror of https://github.com/GNOME/gimp.git
core: bail out of gimp_exit if exit was cancelled by user
This commit is contained in:
parent
1e4cbd3232
commit
ca9365f2b5
|
@ -1212,6 +1212,9 @@ gimp_exit (Gimp *gimp,
|
|||
force ? TRUE : FALSE,
|
||||
&handled);
|
||||
|
||||
if (handled)
|
||||
return;
|
||||
|
||||
/* Get rid of images without display. We do this *after* handling the
|
||||
* usual exit callbacks, because the things that are torn down there
|
||||
* might have references to these images (for instance GimpActions
|
||||
|
|
Loading…
Reference in New Issue