forked from enlightenment/efl
change to code that was added during 1.8 dev.. so no need for
chlog/news... dont ever unload (free) ecore-evas modules to avoid symbol problems. SVN revision: 83885
This commit is contained in:
parent
01a6147288
commit
7d624a5f4b
|
@ -70,7 +70,9 @@ _ecore_evas_engine_init(void)
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
unsigned int j;
|
unsigned int j;
|
||||||
|
|
||||||
_registered_engines = eina_hash_string_small_new(EINA_FREE_CB(eina_module_free));
|
/* avoid freeing modules ever to avoid deferred cb symbol problems */
|
||||||
|
// _registered_engines = eina_hash_string_small_new(EINA_FREE_CB(eina_module_free));
|
||||||
|
_registered_engines = eina_hash_string_small_new(NULL);
|
||||||
|
|
||||||
if (getenv("EFL_RUN_IN_TREE"))
|
if (getenv("EFL_RUN_IN_TREE"))
|
||||||
{
|
{
|
||||||
|
@ -112,11 +114,13 @@ _ecore_evas_engine_shutdown(void)
|
||||||
{
|
{
|
||||||
char *path;
|
char *path;
|
||||||
|
|
||||||
|
/* don't free modules to avoid fn callback deferred symbol problems
|
||||||
if (_registered_engines)
|
if (_registered_engines)
|
||||||
{
|
{
|
||||||
eina_hash_free(_registered_engines);
|
eina_hash_free(_registered_engines);
|
||||||
_registered_engines = NULL;
|
_registered_engines = NULL;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
EINA_LIST_FREE(_engines_paths, path)
|
EINA_LIST_FREE(_engines_paths, path)
|
||||||
free(path);
|
free(path);
|
||||||
|
|
Loading…
Reference in New Issue