ecore: avoid breaking next main loop start if quit occurs outside of loop
authorMike Blumenkrantz <zmike@samsung.com>
Fri, 19 Jul 2019 19:42:09 +0000 (15:42 -0400)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 23 Jul 2019 05:04:43 +0000 (14:04 +0900)
commit36f725b90af2ee0e6a04e923cced1b63ffb2f67e
treebb2c872c6efe33f3c6656a2526b0b32954f2553b
parentcd0d513313e73b3c411f060a07c72d0e67b71c8c
ecore: avoid breaking next main loop start if quit occurs outside of loop

in the case where ecore_main_loop_quit() was called before ecore_main_loop_begin(),
the latter call would exit immediately without ever iterating the main loop

@fix

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9360
src/lib/ecore/ecore_main.c
src/lib/ecore/ecore_private.h