ecore: Reset do_quit when ecore shuts down

After ecore_shutdown the main loop is dead, so the flag do_quit can be
safely reset to 0. This will fix issues with cycles of
elm_init/shutdown. This fixes:
  CK_FORK=no tests/elementary/elm_suite elm_win

This patch relies on a few of the previous patches which ensure that
ecore is well shut down.

@fix
This commit is contained in:
Jean-Philippe Andre 2017-09-26 17:18:02 +09:00
parent e401b223f8
commit 25520583a7
1 changed files with 1 additions and 0 deletions

View File

@ -1659,6 +1659,7 @@ _ecore_main_shutdown(void)
fd_handlers_to_call_current = NULL;
fd_handlers_to_delete = NULL;
fd_handler_current = NULL;
do_quit = 0;
#ifdef _WIN32
while (win32_handlers)