Fix service_app_exit API 13/148213/2
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 7 Sep 2017 06:33:17 +0000 (15:33 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 7 Sep 2017 06:42:25 +0000 (15:42 +0900)
- Use appcore_base_exit API

Change-Id: Ie3a2eb3b45e7ca8457ea177b7978c8fcf0011945
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/service_app_main.c

index 8a75600..284feda 100644 (file)
@@ -215,7 +215,7 @@ EXPORT_API int service_app_main(int argc, char **argv, service_app_lifecycle_cal
 
 EXPORT_API void service_app_exit(void)
 {
-       __loop_exit(NULL);
+       appcore_base_exit();
 }
 
 static int __event_cb(void *event, void *data)
@@ -283,7 +283,7 @@ EXPORT_API int service_app_remove_event_handler(app_event_handler_h event_handle
 EXPORT_API void service_app_exit_without_restart(void)
 {
        aul_status_update(STATUS_NORESTART);
-       __loop_exit(NULL);
+       appcore_base_exit();
 }