Revert "Fix app terminate function" 40/164740/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 20 Dec 2017 22:27:13 +0000 (07:27 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 20 Dec 2017 22:27:19 +0000 (07:27 +0900)
This reverts commit fdb8c42843b759da65250d52ac286623d0e84ec7.

Change-Id: I55cd2b6bec3bf268fe9bc7bf7c875ca3875b4ebb

src/app_main.c

index f424618..4d9c7b9 100755 (executable)
@@ -88,11 +88,11 @@ static int __ui_app_create(void *data)
 
 static int __ui_app_terminate(void *data)
 {
+       appcore_efl_base_on_terminate();
+
        if (__context.callback.terminate)
                __context.callback.terminate(__context.data);
 
-       appcore_efl_base_on_terminate();
-
        return APP_ERROR_NONE;
 }