From 403fdbac6ad25f3cae1b752c6a0d2edd0d4184d6 Mon Sep 17 00:00:00 2001 From: Younho Park Date: Mon, 4 Dec 2017 15:18:49 +0900 Subject: [PATCH] [ITC][push][Non-ACR][Added mainloop run after calling push_service_deregister] Change-Id: I29f191ecabf9c194fd4ed7f34208e7d18daeafc5 Signed-off-by: Younho Park --- src/itc/push/ITs-push-service.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/itc/push/ITs-push-service.c b/src/itc/push/ITs-push-service.c index fb682d6a7..bec497201 100755 --- a/src/itc/push/ITs-push-service.c +++ b/src/itc/push/ITs-push-service.c @@ -1041,6 +1041,7 @@ int ITc_push_service_register_deregister_p(void) { nRet = push_service_deregister(g_hServiceConnection, PushServiceResultCB, NULL); PRINT_RESULT_CLEANUP(PUSH_SERVICE_ERROR_NONE, nRet, "push_service_deregister", PushServiceGetError(nRet),PushServiceDisconnect()); + RUN_POLLING_LOOP; if ( !g_bCallbackHit ) { FPRINTF("[Line : %d][%s] push_service_deregister failed, error returned = callback not invoked\\n", __LINE__, API_NAMESPACE); @@ -1705,4 +1706,4 @@ int ITc_push_service_get_unread_free_notification_p(void) } } /** @} */ -/** @} */ \ No newline at end of file +/** @} */ -- 2.34.1