evas cache - avoid a segv...

but this needs mroe digging as to how this state was gotten to to
begin with.
This commit is contained in:
Carsten Haitzler 2018-10-09 13:00:01 +01:00
parent d67e9875c8
commit 0c1eab0cf9
1 changed files with 2 additions and 1 deletions

View File

@ -348,7 +348,8 @@ _evas_cache_image_async_heavy(void *data)
cache = current->cache;
if ((!current->flags.loaded) &&
current->info.loader->threadable)
(current->info.loader) &&
(current->info.loader->threadable))
{
evas_module_task_register(evas_cache_image_cancelled, current);
error = cache->func.load(current);