ecore: should be the one triggering EFL_LOOP_EVENT_TERMINATE.

This commit is contained in:
Cedric Bail 2017-11-15 16:26:32 -08:00
parent cd1f5915d2
commit 1112ce2a8a
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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]);