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:31 +0000 (11:27 +0000)
commit5801a40a6d88cdb3172dc96656c720c2cf684510
tree6b1e8fc0a1aacfa5c162b7e74a32153aca9cf067
parentff2f342ebd03a4254e523bbf2900feb4839d88d8
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/13025
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