From bf871d09755659575f374f338d00519fe2d5f7c3 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 5 Nov 2009 16:05:29 +0000 Subject: [PATCH] try uncondiutionalyl remove dropped images from preload queue SVN revision: 43464 --- legacy/evas/src/lib/cache/evas_cache_image.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legacy/evas/src/lib/cache/evas_cache_image.c b/legacy/evas/src/lib/cache/evas_cache_image.c index 387ba2d..19ea6d3 100644 --- a/legacy/evas/src/lib/cache/evas_cache_image.c +++ b/legacy/evas/src/lib/cache/evas_cache_image.c @@ -926,6 +926,8 @@ evas_cache_image_drop(Image_Entry *im) if (im->references == 0) { #ifdef BUILD_ASYNC_PRELOAD + _evas_cache_image_entry_preload_remove(im, NULL); + /* pthread_mutex_lock(&mutex); if (im->flags.preload) { @@ -941,6 +943,7 @@ evas_cache_image_drop(Image_Entry *im) return; } pthread_mutex_unlock(&mutex); + */ #endif if (im->flags.dirty) -- 2.7.4