try uncondiutionalyl remove dropped images from preload queue
authorCarsten Haitzler <raster@rasterman.com>
Thu, 5 Nov 2009 16:05:29 +0000 (16:05 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Thu, 5 Nov 2009 16:05:29 +0000 (16:05 +0000)
SVN revision: 43464

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

index 387ba2d..19ea6d3 100644 (file)
@@ -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)