tentative change... it seems in rare conditions some programs end up doubled
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 1 Apr 2009 09:11:48 +0000 (09:11 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 1 Apr 2009 09:11:48 +0000 (09:11 +0000)
and the stop prog doesnt clean out all instances - leaving 1 or more excess
instances to run. this should fix that.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@39827 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_program.c

index 10f2030..2c6e518 100644 (file)
@@ -633,7 +633,7 @@ _edje_program_run(Edje *ed, Edje_Program *pr, int force, const char *ssig, const
                  if (pt->id == runp->program->id)
                    {
                       _edje_program_end(ed, runp);
-                      goto done;
+//                    goto done;
                    }
               }
             EINA_LIST_FOREACH(ed->pending_actions, ll, pp)
@@ -643,7 +643,7 @@ _edje_program_run(Edje *ed, Edje_Program *pr, int force, const char *ssig, const
                       ed->pending_actions = eina_list_remove(ed->pending_actions, pp);
                       ecore_timer_del(pp->timer);
                       free(pp);
-                      goto done;
+//                    goto done;
                    }
               }
             done: