summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:08:59 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commitb80cfb38a1e5a8d4c223458e6c24fd48a205829f (patch)
tree4427138200b8c7f5a8c033b2a821741166d2fcdf
parent614c255f3b96a1f22d51b237aabfdd086fa29446 (diff)
ecore: avoid potential crash on shutdown in Ecore_Exe
-rw-r--r--src/lib/ecore/ecore_exe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c
index dcf9ceaa86..22486cd609 100644
--- a/src/lib/ecore/ecore_exe.c
+++ b/src/lib/ecore/ecore_exe.c
@@ -403,6 +403,11 @@ _ecore_exe_shutdown(void)
403 Eina_List *l1, *l2; 403 Eina_List *l1, *l2;
404 EINA_LIST_FOREACH_SAFE(_ecore_exe_exes, l1, l2, exe) 404 EINA_LIST_FOREACH_SAFE(_ecore_exe_exes, l1, l2, exe)
405 ecore_exe_free(exe); 405 ecore_exe_free(exe);
406
407 ecore_event_type_flush(ECORE_EXE_EVENT_ADD,
408 ECORE_EXE_EVENT_DEL,
409 ECORE_EXE_EVENT_DATA,
410 ECORE_EXE_EVENT_ERROR);
406} 411}
407 412
408Ecore_Exe * 413Ecore_Exe *