forked from enlightenment/efl
[elm] Fix elm_shutdown via Edje externals.
An EVAS_CALLBACK_DEL event cb will take place before the smart del function, so there'll be more action taking place after that, and Elm has be on. SVN revision: 71867
This commit is contained in:
parent
b06f7aa8e6
commit
727f4692b3
|
@ -18,13 +18,22 @@ external_elm_init(void)
|
|||
elm_init(argc, argv);
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_shutdown_idler(void *data)
|
||||
{
|
||||
elm_shutdown();
|
||||
|
||||
return ECORE_CALLBACK_CANCEL;
|
||||
}
|
||||
|
||||
static void
|
||||
external_elm_shutdown(void)
|
||||
{
|
||||
init_count--;
|
||||
DBG("elm_real_shutdown\n");
|
||||
if (init_count > 0) return;
|
||||
elm_shutdown();
|
||||
|
||||
ecore_idler_add(_shutdown_idler, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue