From ec9232b3100b07699bb217f3ddc167f67bbc722a Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Fri, 16 Dec 2016 18:49:06 +0900 Subject: [PATCH 1/1] Check AUL_LOADER_INIT env - If the AUL_LOADER_INIT environment variable exists, the elm_shutdown() will be called again. Change-Id: Id12fdb945d61265fab233ddd4e09d285eac12c43 Signed-off-by: Hwankyu Jhun --- src/appcore-efl.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/appcore-efl.c b/src/appcore-efl.c index 323242c..81bda7e 100644 --- a/src/appcore-efl.c +++ b/src/appcore-efl.c @@ -1096,6 +1096,12 @@ static void __after_loop(struct ui_priv *ui) __appcore_timer_del(ui); elm_shutdown(); + + /* Check loader case */ + if (getenv("AUL_LOADER_INIT")) { + unsetenv("AUL_LOADER_INIT"); + elm_shutdown(); + } } static int __set_data(struct ui_priv *ui, const char *name, -- 2.7.4