projects
/
platform
/
core
/
appfw
/
appcore-agent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
295f477
)
Fix app terminate function
41/148441/3
author
Hwankyu Jhun
<h.jhun@samsung.com>
Fri, 8 Sep 2017 02:35:42 +0000
(11:35 +0900)
committer
HwanKyu Jhun
<h.jhun@samsung.com>
Fri, 8 Sep 2017 02:40:33 +0000
(
02:40
+0000)
The terminate callback of the application should be called before
calling appcore_base_on_terminate() function.
Change-Id: I5004a3a3a8012ab6932e73c1db2dc2236c1deeed
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/service_app_main.c
patch
|
blob
|
history
diff --git
a/src/service_app_main.c
b/src/service_app_main.c
index
284feda
..
aea30cc
100644
(file)
--- a/
src/service_app_main.c
+++ b/
src/service_app_main.c
@@
-86,11
+86,11
@@
static int __service_app_create(void *data)
static int __service_app_terminate(void *data)
{
- appcore_base_on_terminate();
-
if (__context.callback.terminate)
__context.callback.terminate(__context.data);
+ appcore_base_on_terminate();
+
return APP_ERROR_NONE;
}