Fixed a bug in the cache module of RE
authorcoderhyme <jhyo.kim@samsung.com>
Mon, 14 Mar 2016 02:57:32 +0000 (19:57 -0700)
committerJungHo Kim <jhyo.kim@samsung.com>
Thu, 24 Mar 2016 11:34:12 +0000 (11:34 +0000)
commitd86a86ebb17fc072e84aaa743030864154d551f8
tree8356fd67adc4c8847220486a3602480cf6771950
parent14af5d46721af82b5abf153b4e565c1c998e9465
Fixed a bug in the cache module of RE

If observation for a resource from a client is started, it should be canceled.
But there was a logic error that it isn't.

Change-Id: I2440c20999b7076bea5987ccbad3f0710269b3d9
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5807
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: JungYong KIM <jyong2.kim@samsung.com>
(cherry picked from commit 607ef0e262f85d164cb3b1edbcf2e5bf926a2930)
Reviewed-on: https://gerrit.iotivity.org/gerrit/6259
service/resource-encapsulation/src/resourceCache/src/DataCache.cpp