}
__context.state = AS_DYING;
- if (__context.hshow)
- ecore_event_handler_del(__context.hshow);
- if (__context.hhide)
- ecore_event_handler_del(__context.hhide);
- if (__context.hvchange)
- ecore_event_handler_del(__context.hvchange);
- if (__context.hlower)
- ecore_event_handler_del(__context.hlower);
-
- __finish_wl();
- elm_shutdown();
-
- /* Check loader case */
- if (getenv("AUL_LOADER_INIT")) {
- unsetenv("AUL_LOADER_INIT");
- elm_shutdown();
- }
appcore_base_on_terminate();
EXPORT_API void appcore_ui_base_fini(void)
{
appcore_base_fini();
+
+ if (__context.hshow)
+ ecore_event_handler_del(__context.hshow);
+ if (__context.hhide)
+ ecore_event_handler_del(__context.hhide);
+ if (__context.hvchange)
+ ecore_event_handler_del(__context.hvchange);
+ if (__context.hlower)
+ ecore_event_handler_del(__context.hlower);
+
+ __finish_wl();
+ elm_shutdown();
+
+ /* Check loader case */
+ if (getenv("AUL_LOADER_INIT")) {
+ unsetenv("AUL_LOADER_INIT");
+ elm_shutdown();
+ }
+
free(__context.appid);
__context.appid = NULL;
}