Hello ~ 

I made small patch for elm_main.c

In elm_all_flush function, I was suspicious about, 

if _elm_win_list is NULL then following codes should not be called or not.  

 

ejde_file_cache_flush();

edje_collection_cache_flush();

eet_clearcache();

 

I thinks above functions should be called without any consideration about
the state of _elm_win_list. 

Can anybody check about this ? 

Thanks. 

Index: src/lib/elm_main.c
===================================================================
--- src/lib/elm_main.c  (revision 56218)
+++ src/lib/elm_main.c  (working copy)
@@ -1829,12 +1829,12 @@ elm_all_flush(void)
    const Eina_List *l;
    Evas_Object *obj;
 
+   edje_file_cache_flush();
+   edje_collection_cache_flush();
+   eet_clearcache();
    EINA_LIST_FOREACH(_elm_win_list, l, obj)
      {
         Evas *e = evas_object_evas_get(obj);
-        edje_file_cache_flush();
-        edje_collection_cache_flush();
-        eet_clearcache();
         evas_image_cache_flush(e);
         evas_font_cache_flush(e);
         evas_render_dump(e);
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to