Let's try to shutdown cache and fix delete problem.

SVN revision: 38702
This commit is contained in:
Gustavo Sverzut Barbieri 2009-01-23 00:08:11 +00:00
parent 62ca2f49f2
commit 83783665f5
2 changed files with 5 additions and 2 deletions

View File

@ -520,6 +520,7 @@ evas_cache_image_shutdown(Evas_Cache_Image *cache)
_evas_cache_image_entry_delete(cache, im);
}
delete_list = NULL;
eina_hash_foreach(cache->activ, _evas_cache_image_free_cb, &delete_list);
while (delete_list)

View File

@ -109,8 +109,10 @@ evas_common_image_shutdown(void)
// evas_common_image_init() at the start and evas_common_image_shutdown()
// after it all. really ref 0 should only be reached when no more canvases
// with no more objects exist anywhere.
// evas_cache_image_shutdown(eci);
// eci = NULL;
// ENABLE IT AGAIN, hope it is fixed. Gustavo @ January 22nd, 2009.
evas_cache_image_shutdown(eci);
eci = NULL;
}
#ifdef BUILD_LOADER_EET