On 06/08/2012 11:05 PM, Enlightenment SVN wrote: > Log: > [elm] Fix elm_shutdown via Edje externals. > An EVAS_CALLBACK_DEL event cb will take place before the smart del > function, so there'll be more action taking place after that, and Elm > has be on.
shutdown with idler isn't a good solution. shutdown is mostly done after the main loop quits, and then no idler is called anymore. S. > > > > Author: glima > Date: 2012-06-08 14:05:37 -0700 (Fri, 08 Jun 2012) > New Revision: 71867 > Trac: http://trac.enlightenment.org/e/changeset/71867 > > Modified: > trunk/elementary/src/edje_externals/elm.c > > Modified: trunk/elementary/src/edje_externals/elm.c > =================================================================== > --- trunk/elementary/src/edje_externals/elm.c 2012-06-08 20:53:24 UTC (rev > 71866) > +++ trunk/elementary/src/edje_externals/elm.c 2012-06-08 21:05:37 UTC (rev > 71867) > @@ -18,13 +18,22 @@ > elm_init(argc, argv); > } > > +static Eina_Bool > +_shutdown_idler(void *data) > +{ > + elm_shutdown(); > + > + return ECORE_CALLBACK_CANCEL; > +} > + > static void > external_elm_shutdown(void) > { > init_count--; > DBG("elm_real_shutdown\n"); > if (init_count> 0) return; > - elm_shutdown(); > + > + ecore_idler_add(_shutdown_idler, NULL); > } > > static void > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel