try uncondiutionalyl remove dropped images from preload queue
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 5 Nov 2009 16:05:29 +0000 (16:05 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 5 Nov 2009 16:05:29 +0000 (16:05 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@43464 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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)