From fdb8c42843b759da65250d52ac286623d0e84ec7 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Fri, 8 Sep 2017 11:42:51 +0900 Subject: [PATCH] Fix app terminate function The terminate callback of the application should be called before calling appcore_base_on_terminate() function. Change-Id: Ia50c83931f6afa81ae050ac1b92fabc52490b600 Signed-off-by: Hwankyu Jhun --- src/app_main.c | 4 ++-- 1 file 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; } -- 2.7.4