On Thu, Jan 31, 2013 at 9:18 AM, Raphael Kubo da Costa <raphael.kubo.da.co...@intel.com> wrote: > Gustavo Sverzut Barbieri <barbi...@profusion.mobi> writes: >> Kubo: do you know if FcIni/FcFini are refcounted like EFL? > > They are not. If the general perception here is that Evas should not be > changed, trying to talk to the Fontconfig guys and change > FcInit/FcFini's behavior is also an option (so that applications such as > elementary_test keep working as expected and applications using, say, > WebKit and EFL just "leak" at exit without crashing).
ouch, so they are not refcounted and it will free at first exit... that's bad, quite bad :-) Option #1 is talk to fc guys and see if they can add that. It would be more correct. Option #3 is to change webkit's FC users to flush their handles before. It's not WK-global, rather just the webkit efl port (or the inherited font stuff from gtk) should do it. I don't think that webkit just leaks is handles, then if they are remembered somewhere it's just a matter of going to the ewk_shutdown() and release them? What's so hard in that? Finding the handles? Maybe they are spread all over the place? Option #3 is leak as you sent in your original patch. Simpler indeed, but far from ideal :-) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel