From 987857971817a1fa4ca5d984eda11851bda39320 Mon Sep 17 00:00:00 2001 From: "vimala.v" Date: Fri, 17 Apr 2015 17:30:01 +0530 Subject: [PATCH] Fixed "[IOT-471] CATerminate can not clear out the previously registered handlers" issue. Change-Id: Iffd86c2f3c24e210af4b9c33da48032cb421b4bc Signed-off-by: vimala.v Reviewed-on: https://gerrit.iotivity.org/gerrit/768 Tested-by: jenkins-iotivity Reviewed-by: Thiago Macieira Reviewed-by: Abhishek Pandey Reviewed-by: jihwan seo Reviewed-by: Patrick Lankswert --- resource/csdk/connectivity/src/caconnectivitymanager_singlethread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/resource/csdk/connectivity/src/caconnectivitymanager_singlethread.c b/resource/csdk/connectivity/src/caconnectivitymanager_singlethread.c index caea74d..442d1cb 100644 --- a/resource/csdk/connectivity/src/caconnectivitymanager_singlethread.c +++ b/resource/csdk/connectivity/src/caconnectivitymanager_singlethread.c @@ -43,6 +43,7 @@ CAResult_t CAInitialize() void CATerminate() { OIC_LOG(DEBUG, TAG, "IN"); + CASetRequestResponseCallbacks(NULL, NULL); CATerminateMessageHandler(); CATerminateNetworkType(); -- 2.7.4