Fix bug for invalid remove a context at request.
authorKIM JungYong <jyong2.kim@samsung.com>
Mon, 10 Oct 2016 08:56:18 +0000 (17:56 +0900)
committerUze Choi <uzchoi@samsung.com>
Wed, 12 Oct 2016 11:27:21 +0000 (11:27 +0000)
commit7f5e332d639a635b191443f4f7b8bad8d44dca2a
tree4ed047021e95fe4132bb472f883da7b9014747d5
parent952511c08da99fd809415a14f192eb9d52134f85
Fix bug for invalid remove a context at request.

When receive responce of getting topic information,
consumer serivce remove context manually.
But, it is the invalid way.
With this patch, consumer service does not remove manually.
Context will be removed automatically by RI layer.

Change-Id: I1278dc13bf297b95e513d364f243064b525a7083
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13063
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification/src/consumer/NSConsumerCommon.c
service/notification/src/consumer/NSConsumerCommon.h
service/notification/src/consumer/NSConsumerCommunication.c
service/notification/src/consumer/NSConsumerDiscovery.c
service/notification/src/consumer/NSConsumerNetworkEventListener.c