forked from enlightenment/efl
ecore: should be the one triggering EFL_LOOP_EVENT_TERMINATE.
This commit is contained in:
parent
cd1f5915d2
commit
1112ce2a8a
|
@ -387,6 +387,8 @@ ecore_shutdown(void)
|
|||
if (_ecore_init_count-- != _ecore_init_count_threshold)
|
||||
goto end;
|
||||
|
||||
efl_event_callback_call(ecore_main_loop_get(), EFL_LOOP_EVENT_TERMINATE, NULL);
|
||||
|
||||
ecore_system_modules_unload();
|
||||
|
||||
eina_log_timing(_ecore_log_dom,
|
||||
|
|
|
@ -441,8 +441,6 @@ elm_shutdown(void)
|
|||
_elm_init_count--;
|
||||
if (_elm_init_count > 0) return _elm_init_count;
|
||||
|
||||
efl_event_callback_call(ecore_main_loop_get(), EFL_LOOP_EVENT_TERMINATE, NULL);
|
||||
|
||||
ecore_event_handler_del(system_handlers[0]);
|
||||
ecore_event_handler_del(system_handlers[1]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue