eina: properly initialize EINA_ERROR_NOT_MAIN_LOOP.

This commit is contained in:
Cedric Bail 2017-11-17 11:11:48 -08:00
parent 574d4526cb
commit 7cfb9e00ed
1 changed files with 2 additions and 0 deletions

View File

@ -300,6 +300,8 @@ eina_init(void)
eina_cpu_count_internal();
EINA_ERROR_NOT_MAIN_LOOP = eina_error_msg_static_register("Not in main loop.");
eina_log_timing(_eina_log_dom, EINA_LOG_STATE_STOP, EINA_LOG_STATE_INIT);
_eina_main_count = 1;