try uncondiutionalyl remove dropped images from preload queue

SVN revision: 43464
This commit is contained in:
Carsten Haitzler 2009-11-05 16:05:29 +00:00
parent 9791b27a18
commit bf871d0975
1 changed files with 3 additions and 0 deletions

View 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)