forked from enlightenment/efl
i KNOW there is a bug here... the question is.. how to fix it?
SVN revision: 42692
This commit is contained in:
parent
7c47dc2c65
commit
aea9bb4064
|
@ -329,6 +329,9 @@ _evas_cache_image_async_call__locked(Image_Entry *im)
|
||||||
{
|
{
|
||||||
Evas_Cache_Target *tmp = im->targets;
|
Evas_Cache_Target *tmp = im->targets;
|
||||||
|
|
||||||
|
// FIXME: bug bug bug bug. hrrrm.
|
||||||
|
// FIXME: this is a little bad if obj gets deleted before preload
|
||||||
|
// async event comes in... boom!
|
||||||
evas_async_events_put(tmp->target, EVAS_CALLBACK_IMAGE_PRELOADED, NULL,
|
evas_async_events_put(tmp->target, EVAS_CALLBACK_IMAGE_PRELOADED, NULL,
|
||||||
(void (*)(void*, Evas_Callback_Type, void*))evas_object_event_callback_call);
|
(void (*)(void*, Evas_Callback_Type, void*))evas_object_event_callback_call);
|
||||||
im->targets = (Evas_Cache_Target*) eina_inlist_remove(EINA_INLIST_GET(im->targets), EINA_INLIST_GET(im->targets));
|
im->targets = (Evas_Cache_Target*) eina_inlist_remove(EINA_INLIST_GET(im->targets), EINA_INLIST_GET(im->targets));
|
||||||
|
|
Loading…
Reference in New Issue