From c8675eb245321cf7e4087941334da9cf74891b38 Mon Sep 17 00:00:00 2001 From: YounghyunJoo Date: Fri, 17 Jul 2015 17:56:19 +0900 Subject: [PATCH] Modify the DataCache.cpp file for initialization issue initialize networkTimeOutHandle, pollingHandle value Change-Id: I773552b8e15a59c6209c6be047476b72b61db19e Signed-off-by: YounghyunJoo Reviewed-on: https://gerrit.iotivity.org/gerrit/1714 Reviewed-by: Uze Choi Tested-by: Uze Choi --- service/resource-manipulation/src/resourceCache/src/DataCache.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/service/resource-manipulation/src/resourceCache/src/DataCache.cpp b/service/resource-manipulation/src/resourceCache/src/DataCache.cpp index b48c4b5..cf4147f 100755 --- a/service/resource-manipulation/src/resourceCache/src/DataCache.cpp +++ b/service/resource-manipulation/src/resourceCache/src/DataCache.cpp @@ -43,6 +43,9 @@ namespace OIC state = CACHE_STATE::READY_YET; + networkTimeOutHandle = 0; + pollingHandle = 0; + pObserveCB = (ObserveCB)(std::bind(&DataCache::onObserve, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4)); -- 2.7.4