cedric pushed a commit to branch enlightenment-0.17.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=514e644c5cb981d9d0bb2e3c2bbe4abe4202dfa9

commit 514e644c5cb981d9d0bb2e3c2bbe4abe4202dfa9
Author: Mike Blumenkrantz <m.blumenk...@samsung.com>
Date:   Tue Oct 15 11:45:01 2013 +0100

    fix crash when activating e restart from start menu
---
 src/modules/start/e_mod_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/start/e_mod_main.c b/src/modules/start/e_mod_main.c
index 5847f96..44a2b96 100644
--- a/src/modules/start/e_mod_main.c
+++ b/src/modules/start/e_mod_main.c
@@ -274,7 +274,7 @@ _menu_cb_post(void *data, E_Menu *m __UNUSED__)
    Instance *inst;
 
    inst = data;
-   if (!inst->main_menu) return;
+   if (stopping || (!inst->main_menu)) return;
    e_gadcon_locked_set(inst->gcc->gadcon, 0);
    edje_object_signal_emit(inst->o_button, "e,state,unfocused", "e");
    e_object_del(E_OBJECT(inst->main_menu));

-- 


Reply via email to