remove quick_exit() from code 62/66962/2
authorKyeonghun Lee <kh9090.lee@samsung.com>
Fri, 22 Apr 2016 08:37:01 +0000 (17:37 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Fri, 22 Apr 2016 08:41:22 +0000 (17:41 +0900)
Change-Id: Ie8f946d959ce0f8222f572c2b9a7a617b55d15ee
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
manager/src/msg-manager.cpp

index 88a7be8..775f0aa 100644 (file)
@@ -33,7 +33,7 @@ cm_client_h cm_handle = NULL;
 pthread_mutex_t mx;
 static int job_cnt = 0;
 
-static int _check_app_ternimate(void *data)
+static int _check_app_terminate(void *data)
 {
        pthread_mutex_lock(&mx);
 
@@ -84,7 +84,6 @@ void service_app_terminate(void *data)
        cm_deinit(cm_handle);
        MsgMgrCloseContactSvc();
        msg_close_msg_handle(&msg_handle);
-       quick_exit(EXIT_SUCCESS);
 
        return;
 }
@@ -656,7 +655,7 @@ void service_app_control(app_control_h app_control, void *data)
                g_free(operation);
        }
 
-       g_timeout_add_seconds(60, _check_app_ternimate, NULL);
+       g_timeout_add_seconds(60, _check_app_terminate, NULL);
 
        return;
 }