forked from enlightenment/efl
ecore_con: Properly shutdown and unregister log domain
I believe the comment saying we should not unregister the log domain is invalid as we try to flush the pending ecore events.
This commit is contained in:
parent
81bad9f47c
commit
c0c5e72408
|
@ -92,13 +92,10 @@ ecore_con_init(void)
|
||||||
if (!ecore_init())
|
if (!ecore_init())
|
||||||
goto ecore_err;
|
goto ecore_err;
|
||||||
|
|
||||||
|
_ecore_con_log_dom = eina_log_domain_register
|
||||||
|
("ecore_con", ECORE_CON_DEFAULT_LOG_COLOR);
|
||||||
if (_ecore_con_log_dom < 0)
|
if (_ecore_con_log_dom < 0)
|
||||||
{
|
goto ecore_con_log_error;
|
||||||
_ecore_con_log_dom = eina_log_domain_register
|
|
||||||
("ecore_con", ECORE_CON_DEFAULT_LOG_COLOR);
|
|
||||||
if (_ecore_con_log_dom < 0)
|
|
||||||
goto ecore_con_log_error;
|
|
||||||
}
|
|
||||||
|
|
||||||
_efl_net_proxy_helper_init();
|
_efl_net_proxy_helper_init();
|
||||||
|
|
||||||
|
@ -155,9 +152,8 @@ ecore_con_shutdown(void)
|
||||||
|
|
||||||
ecore_con_legacy_shutdown();
|
ecore_con_legacy_shutdown();
|
||||||
|
|
||||||
/* do not unregister log domain as ecore_con_servers may be pending deletion
|
eina_log_domain_unregister(_ecore_con_log_dom);
|
||||||
* due Ecore_Event.
|
_ecore_con_log_dom = -1;
|
||||||
*/
|
|
||||||
|
|
||||||
ecore_shutdown();
|
ecore_shutdown();
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
Loading…
Reference in New Issue