- Use elm_run instead of ecore_main_loop_begin
Change-Id: I1ac48aba7a7ac9fe1586c9b752c83db5b18afff0
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
static void __exit_loop(void *data)
{
- ecore_main_loop_quit();
+ elm_exit();
}
static void __do_app(enum watch_event event, void *data, bundle * b)
elm_shutdown();
+ /* Check loader case */
+ if (getenv("AUL_LOADER_INIT")) {
+ unsetenv("AUL_LOADER_INIT");
+ elm_shutdown();
+ }
+
alarmmgr_fini();
}
return r;
}
- ecore_main_loop_begin();
-
+ elm_run();
aul_status_update(STATUS_DYING);
-
__after_loop(&priv);
-
return 0;
}