From cc01d54945b2731fc5ba8f4497d2e1b1233999dc Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Mon, 26 Mar 2007 21:19:53 +0000 Subject: [PATCH] Use shutdown stack. Don't shutdown ecore_file twice. SVN revision: 29188 --- src/bin/e_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/e_main.c b/src/bin/e_main.c index 95f0004c5..432cd8bde 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -198,6 +198,7 @@ main(int argc, char **argv) TS("intl init"); e_intl_init(); + _e_main_shutdown_push(e_intl_shutdown); TS("parse args"); /* handle some command-line parameters */ @@ -868,15 +869,15 @@ main(int argc, char **argv) /* unroll our stack of shutdown functions with exit code of 0 */ _e_main_shutdown(0); - - e_intl_shutdown(); /* if we were flagged to restart, then restart. */ if (restart) { /* selected shutdown */ e_ipc_shutdown(); +#if 0 ecore_file_shutdown(); +#endif e_util_env_set("E_RESTART_OK", "1"); ecore_app_restart(); }