if GIMP_UNSTABLE is undefined before calling exit() call tile_swap_exit(),

2007-06-13  Sven Neumann  <sven@gimp.org>

	* app/app.c (app_exit_after_callback): if GIMP_UNSTABLE is
	undefined before calling exit() call tile_swap_exit(), not
	base_exit().

svn path=/trunk/; revision=22773
This commit is contained in:
Sven Neumann 2007-06-13 14:01:37 +00:00 committed by Sven Neumann
parent c5a48bbea0
commit d32097528e
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-06-13 Sven Neumann <sven@gimp.org>
* app/app.c (app_exit_after_callback): if GIMP_UNSTABLE is
undefined before calling exit() call tile_swap_exit(), not
base_exit().
2007-06-13 Sven Neumann <sven@gimp.org>
* app/base/base.c (base_exit): call tile_cache_exit() before

View File

@ -40,6 +40,7 @@
#include "config/gimprc.h"
#include "base/base.h"
#include "base/tile-swap.h"
#include "core/gimp.h"
#include "core/gimp-user-install.h"
@ -283,7 +284,7 @@ app_exit_after_callback (Gimp *gimp,
g_main_loop_quit (loop);
#else
/* make sure that the swap file is removed before we quit */
base_exit ();
tile_swap_exit ();
exit (EXIT_SUCCESS);
#endif