On Sat, 15 Sep 2007 19:42:10 +0200 Cedric BAIL <[EMAIL PROTECTED]> babbled:
i see what you mean - yes. ecore_job is lazy. kind of assume ecore_shutdown is final and ecore_init is never called again. :) i guess it should be fixed. in cvs. > Hi, > > I think I found a bug due to ecore_job inside edje. Take the > following code as an example : > > /* First run of ecore */ > ecore_init(); > ecore_evas_init(); > edje_init(); > > setup(); > > ecore_evas_show(ee); > > ecore_main_loop_begin(); > > evas_object_del(eo_bg); > > ecore_evas_free(ee); > > edje_shutdown(); > ecore_evas_shutdown(); > ecore_shutdown(); > > /* Second call. */ > ecore_init(); > ecore_evas_init(); > edje_init(); > > setup(); > > ecore_evas_show(ee); > > ecore_main_loop_begin(); > > evas_object_del(eo_bg); > > ecore_evas_free(ee); > > edje_shutdown(); > ecore_evas_shutdown(); > ecore_shutdown(); > /* End of sample code. */ > > The edje you will instantiate inside the second call will never > receive any signal. > It's due to two bugs, first inside edje, _edje_timer and > job_loss_timer could stay alive after edje_shutdown and never get > reinitialised. And inside ecore_job, ecore_event_job_type and it's handler > will not being reseted correctly. > > As a patch we could add an ecore_job_init/ecore_job_shutdown that do > the reset properly. The patch are attached, but this solution break every > application/library using it. > > Cedric > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
