forked from enlightenment/efl
aaah yes - the flush will ... possibly delete the image - in fract almost
definitely as it got to 0 fref. unlocking the image is bad as it was just deleted. do the delete (cache fluch) after unlock. SVN revision: 49089
This commit is contained in:
parent
6e93fa88d3
commit
d17e840e13
|
@ -431,6 +431,7 @@ _evas_cache_image_async_end(void *data)
|
|||
static void
|
||||
_evas_cache_image_async_cancel(void *data)
|
||||
{
|
||||
Evas_Cache_Image *cache = NULL;
|
||||
Image_Entry *ie = (Image_Entry *) data;
|
||||
|
||||
ie->preload = NULL;
|
||||
|
@ -456,11 +457,12 @@ _evas_cache_image_async_cancel(void *data)
|
|||
{
|
||||
_evas_cache_image_remove_activ(ie->cache, ie);
|
||||
_evas_cache_image_make_inactiv(ie->cache, ie, ie->cache_key);
|
||||
evas_cache_image_flush(ie->cache);
|
||||
cache = ie->cache;
|
||||
}
|
||||
#ifdef EVAS_FRAME_QUEUING
|
||||
LKU(ie->lock_references);
|
||||
#endif
|
||||
if (cache) evas_cache_image_flush(cache);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in New Issue