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);
------------------------------------------------------------------------------
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

Reply via email to