summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-26 17:18:02 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-26 17:58:07 +0900
commit25520583a7adde8eee10a6520a53164ae497a8b5 (patch)
tree5b54649e3804fa9ef44880cd8990b4160168af66 /src/lib/ecore
parente401b223f8813587ddb7d370f199c88ba2cf23e7 (diff)
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
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c
index fe34371e06..8fef249cfe 100644
--- a/src/lib/ecore/ecore_main.c
+++ b/src/lib/ecore/ecore_main.c
@@ -1659,6 +1659,7 @@ _ecore_main_shutdown(void)
1659 fd_handlers_to_call_current = NULL; 1659 fd_handlers_to_call_current = NULL;
1660 fd_handlers_to_delete = NULL; 1660 fd_handlers_to_delete = NULL;
1661 fd_handler_current = NULL; 1661 fd_handler_current = NULL;
1662 do_quit = 0;
1662 1663
1663#ifdef _WIN32 1664#ifdef _WIN32
1664 while (win32_handlers) 1665 while (win32_handlers)