forked from enlightenment/efl
elm: Properly unregister providers on shutdown
This should fix some errors in make check with CK_FORK=no Test: <efl/build>/src$ CK_FORK=no ./tests/elementary/elm_suite elm_config @fix
This commit is contained in:
parent
c2ae93089b
commit
f3c9d25c1f
|
@ -358,6 +358,7 @@ eio_shutdown(void)
|
|||
EINA_LOG_STATE_START,
|
||||
EINA_LOG_STATE_SHUTDOWN);
|
||||
|
||||
efl_loop_unregister(ecore_main_loop_get(), EFL_IO_MANAGER_CLASS, io_manager);
|
||||
efl_del(io_manager);
|
||||
io_manager = NULL;
|
||||
|
||||
|
|
|
@ -4352,8 +4352,8 @@ void
|
|||
_elm_config_shutdown(void)
|
||||
{
|
||||
efl_del_intercept_set(_efl_config_obj, NULL);
|
||||
efl_loop_register(ecore_main_loop_get(), EFL_CONFIG_INTERFACE, NULL);
|
||||
efl_loop_register(ecore_main_loop_get(), EFL_CONFIG_GLOBAL_CLASS, NULL);
|
||||
efl_loop_unregister(ecore_main_loop_get(), EFL_CONFIG_INTERFACE, _efl_config_obj);
|
||||
efl_loop_unregister(ecore_main_loop_get(), EFL_CONFIG_GLOBAL_CLASS, _efl_config_obj);
|
||||
ELM_SAFE_FREE(_efl_config_obj, efl_del);
|
||||
ELM_SAFE_FREE(_elm_config, _config_free);
|
||||
ELM_SAFE_FREE(_elm_preferred_engine, eina_stringshare_del);
|
||||
|
|
Loading…
Reference in New Issue