- Removes calling base_exit function in the on_terminate function
- Adds appcore_base_exit API
Change-Id: I9c2db00a0286bb8aa30a103ff0444d220555036b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
bool appcore_base_is_suspended(void);
void appcore_base_toggle_suspended_state(void);
int appcore_base_set_i18n(const char *domain_name, const char *dir_name);
-
+void appcore_base_exit(void);
#ifdef __cplusplus
}
EXPORT_API int appcore_base_on_terminate()
{
aul_finalize();
- if (__context.ops.exit)
- __context.ops.exit(__context.data);
return 0;
}
__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);