On Thu, 13 Jan 2011 11:35:10 +0900 WooHyun Jung <wh0705.j...@samsung.com> said:
> Hello. I'm WooHyun Jung. > > One question about not calling elm_mod_shutdown in elm.c (in > edje_externals). > > I've tested with elementary_test and I checked elm_mod_init is called when > initiating. > > But elm_mode_shutdown was not called when elementary_test is terminated. > > By this situation elm_init is called twice but elm_shutdown is called just > once. > > Can anybody check about this ? partly a design problem with externals and layering (that cant get fixed without a total rethink of the whole externals thing), and partly an implementation issue of ALWAYs dumbly initting elm from the externals module when it's initted (as opposed to used) thus incrementing ref count for init for elm and thus never making elm_shutdown work because it keeps the init count (as module shutdown doesnt get called because edje is not shut down because of the extra init ref). i made it ref and unref per object instead so it gets called now. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel