diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-09-26 17:18:02 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-09-29 10:28:41 +0900 |
commit | ed29bbe56f1badfc45c2931b992115d938113fd0 (patch) | |
tree | 2940802820338b93dfb18496600f6f0c3071c57f | |
parent | 7b45c0820222fad56b6739410fd098947d2454a1 (diff) | |
download | efl-ed29bbe56f1badfc45c2931b992115d938113fd0.tar.gz |
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
-rw-r--r-- | src/lib/ecore/ecore_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c index 8ca2c96293..88419cee32 100644 --- a/src/lib/ecore/ecore_main.c +++ b/src/lib/ecore/ecore_main.c @@ -1650,6 +1650,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) |