ecore: don't artificially block fonctionnality for nested loop.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 2 Feb 2018 22:53:57 +0000 (14:53 -0800)
committerWonki Kim <wonki_.kim@samsung.com>
Thu, 31 May 2018 05:51:50 +0000 (14:51 +0900)
We do have nested loop when manually calling iterate and was used
in legacy code that got broken with this change.

src/lib/ecore/ecore_main.c

index 8ea2125..f338032 100644 (file)
@@ -1224,11 +1224,6 @@ _ecore_main_loop_begin(Eo *obj, Efl_Loop_Data *pd)
 {
    if (obj == ML_OBJ)
      {
-        if (pd->in_loop > 0)
-          {
-             ERR("Beginning main loop() inside an existing main loop");
-             return;
-          }
 #ifdef HAVE_SYSTEMD
         sd_notify(0, "READY=1");
 #endif