evas: we should not rely on mutex recursive stuff. fix potential source of bug.
authorCedric BAIL <cedric.bail@free.fr>
Mon, 9 May 2011 12:55:57 +0000 (12:55 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Mon, 9 May 2011 12:55:57 +0000 (12:55 +0000)
SVN revision: 59294

legacy/evas/src/lib/cache/evas_cache_image.c

index 7e6196c1ebce3ce2f73f175847f334ead809efbf..119c773da8116fe270d4ccf379e643d7123aa874 100644 (file)
@@ -546,10 +546,10 @@ evas_cache_image_set(Evas_Cache_Image *cache, unsigned int limit)
         return;
      }
    cache->limit = limit;
-   evas_cache_image_flush(cache);
 #ifdef EVAS_FRAME_QUEUING
    LKU(cache->lock);
 #endif
+   evas_cache_image_flush(cache);
 }
 
 EAPI Evas_Cache_Image *