Hi,
I just saw that when an elm external is added it calls elm_init(), and
calls shutdown when it's deleted.
But it's not a nice place to put these calls, because you'll create
scenarios where elm won't shutdown properly.
Example:
A elm application that uses elm_exit() to quit.
it will have
elm_main() {
...
elm_run()
...
elm_shutdown()
}
ELM_MAIN
If you are not using externals, when you call elm_exit() it will quit
the main loop, call elm_shutdown, elm init count will be 0, so it will
delete the windows and it's widgets, call possible callback functions
for object delete. Nice.
But if you are using externals in your theme, when you call
elm_shutdown(), elm init count will be the number of externals used,
so it won't really shutdown, it won't delete the objects, no callbacks
will be called. Not good.
Does anybody have ideas about how to fix it ?
--
Bruno Dilly
Senior Developer
ProFUSION embedded systems
http://profusion.mobi
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel