Check AUL_LOADER_INIT env 74/105374/1 accepted/tizen/3.0/common/20161219.113552 accepted/tizen/3.0/ivi/20161219.095204 accepted/tizen/3.0/mobile/20161219.095651 accepted/tizen/3.0/tv/20161219.083437 accepted/tizen/3.0/wearable/20161219.095641 submit/tizen_3.0/20161216.100430
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 16 Dec 2016 09:49:06 +0000 (18:49 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 16 Dec 2016 09:57:41 +0000 (18:57 +0900)
- If the AUL_LOADER_INIT environment variable exists,
the elm_shutdown() will be called again.

Change-Id: Id12fdb945d61265fab233ddd4e09d285eac12c43
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/appcore-efl.c

index 323242c..81bda7e 100644 (file)
@@ -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,