Unregister eina_log domain

Reviewers: cedric, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1233
This commit is contained in:
Jean Guyomarc'h 2014-07-25 11:08:47 +01:00 committed by Daniel Kolesa
parent 2da95771d4
commit 56ce6d8e74
1 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,8 @@ elua_shutdown(lua_State *L, int c)
if (elua_prefix) eina_prefix_free(elua_prefix);
if (L) lua_close(L);
if (el_log_domain != EINA_LOG_DOMAIN_GLOBAL)
eina_log_domain_unregister(el_log_domain);
eina_shutdown();
exit(c);
}