From: WooHyun Jung <wh0705.jung@samsung.com>
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 31 Jan 2011 08:32:15 +0000 (08:32 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 31 Jan 2011 08:32:15 +0000 (08:32 +0000)
Subject: [E-devel] [Patch] small patch for elm_main.c

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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@56574 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_main.c

index 6237ec8..34e6887 100644 (file)
@@ -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);