diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2017-09-08 11:42:51 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2017-09-08 11:42:51 +0900 |
commit | fdb8c42843b759da65250d52ac286623d0e84ec7 (patch) | |
tree | daf94774d6a4f30e08f4c5e1b21992c51262214b | |
parent | 50608ae424199ffc8e7f985443e41671458b52de (diff) | |
download | application-fdb8c42843b759da65250d52ac286623d0e84ec7.tar.gz application-fdb8c42843b759da65250d52ac286623d0e84ec7.tar.bz2 application-fdb8c42843b759da65250d52ac286623d0e84ec7.zip |
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 <h.jhun@samsung.com>
-rwxr-xr-x | src/app_main.c | 4 |
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; } |