projects
/
platform
/
core
/
appfw
/
app-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix appcore base
[platform/core/appfw/app-core.git]
/
src
/
base
/
appcore_base.c
diff --git
a/src/base/appcore_base.c
b/src/base/appcore_base.c
index
15e6db4
..
5c495f5
100644
(file)
--- a/
src/base/appcore_base.c
+++ b/
src/base/appcore_base.c
@@
-1060,8
+1060,6
@@
EXPORT_API int appcore_base_on_control(bundle *b)
EXPORT_API int appcore_base_on_terminate()
{
aul_finalize();
EXPORT_API int appcore_base_on_terminate()
{
aul_finalize();
- if (__context.ops.exit)
- __context.ops.exit(__context.data);
return 0;
}
return 0;
}
@@
-1204,6
+1202,12
@@
EXPORT_API void appcore_base_toggle_suspended_state(void)
__context.suspended_state ^= __context.suspended_state;
}
__context.suspended_state ^= __context.suspended_state;
}
+EXPORT_API void appcore_base_exit(void)
+{
+ if (__context.ops.exit)
+ __context.ops.exit(__context.data);
+}
+
static int __on_receive(aul_type type, bundle *b, void *data)
{
return appcore_base_on_receive(type, b);
static int __on_receive(aul_type type, bundle *b, void *data)
{
return appcore_base_on_receive(type, b);