forked from enlightenment/efl
try uncondiutionalyl remove dropped images from preload queue
SVN revision: 43464
This commit is contained in:
parent
9791b27a18
commit
bf871d0975
|
@ -926,6 +926,8 @@ evas_cache_image_drop(Image_Entry *im)
|
||||||
if (im->references == 0)
|
if (im->references == 0)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_ASYNC_PRELOAD
|
#ifdef BUILD_ASYNC_PRELOAD
|
||||||
|
_evas_cache_image_entry_preload_remove(im, NULL);
|
||||||
|
/*
|
||||||
pthread_mutex_lock(&mutex);
|
pthread_mutex_lock(&mutex);
|
||||||
if (im->flags.preload)
|
if (im->flags.preload)
|
||||||
{
|
{
|
||||||
|
@ -941,6 +943,7 @@ evas_cache_image_drop(Image_Entry *im)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pthread_mutex_unlock(&mutex);
|
pthread_mutex_unlock(&mutex);
|
||||||
|
*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (im->flags.dirty)
|
if (im->flags.dirty)
|
||||||
|
|
Loading…
Reference in New Issue