summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2017-09-08 02:42:51 (GMT)
committerHwankyu Jhun <h.jhun@samsung.com>2017-09-08 02:42:51 (GMT)
commitfdb8c42843b759da65250d52ac286623d0e84ec7 (patch)
treedaf94774d6a4f30e08f4c5e1b21992c51262214b
parent50608ae424199ffc8e7f985443e41671458b52de (diff)
downloadapplication-fdb8c42843b759da65250d52ac286623d0e84ec7.zip
application-fdb8c42843b759da65250d52ac286623d0e84ec7.tar.gz
application-fdb8c42843b759da65250d52ac286623d0e84ec7.tar.bz2
Fix app terminate functionrefs/changes/42/148442/1
The terminate callback of the application should be called before calling appcore_base_on_terminate() function. Change-Id: Ia50c83931f6afa81ae050ac1b92fabc52490b600 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rwxr-xr-xsrc/app_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app_main.c b/src/app_main.c
index 4d9c7b9..f424618 100755
--- a/src/app_main.c
+++ b/src/app_main.c
@@ -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;
}