Summary:
crash was happend when user do logout the enlightenment with pager16.
pager_config was freed in e_modapi_shutdown(),
but after that, there was accessing pager_config again in _gc_shutdown() by called gadman_shutdown().
Reviewers: zmike, raster, cedric, seoz
CC: cedric
Differential Revision: https://phab.enlightenment.org/D694
Instance *inst;
inst = gcc->data;
- pager_config->instances = eina_list_remove(pager_config->instances, inst);
+ if (pager_config)
+ pager_config->instances = eina_list_remove(pager_config->instances, inst);
e_drop_handler_del(inst->pager->drop_handler);
_pager_free(inst->pager);
free(inst);