shut down safety checks in the log module

Note : currently, because of a circular calls of
eina_log_init() and eina_safety_checks_init(), eina
is not correctly shut down. Imho, eina_log should not
depend on the safety checks module. That would mean
some fprintf in eina_log_domain_new(), eina_log_domain_free(),
eina_log_domain_register()and eina_log_domain_unregister().


SVN revision: 42292
This commit is contained in:
Vincent Torri 2009-09-06 15:25:35 +00:00
parent e780763aa0
commit 718873e00c
1 changed files with 2 additions and 0 deletions

View File

@ -1008,6 +1008,8 @@ eina_log_shutdown(void)
if (_eina_log_init_count != 1) return --_eina_log_init_count;
eina_safety_checks_shutdown();
while (_log_domains_count--)
{
if (_log_domains[_log_domains_count].deleted)