Commit 61241563 authored by Committed by Uze Choi
Fix bug for can not callback on consumer cpp layer.
When starting consumer service, getTopic callback fisrt and then discover callback due to can not call both changed callback and discover callback. because when callback getTopic, NSProvider instance does not set the listener, and when callback discover after, NSProvider instance already create, so can not callback discover. This point is invalid logic on CPP layer. With this patch, altough call getTopic first, can callback discover callback. Change-Id: Ib7a3c8cf3e78edf24d0251227c5d3c225c3ba3a4 Signed-off-by: KIM JungYong <firstname.lastname@example.org> Reviewed-on: https://gerrit.iotivity.org/gerrit/13855Reviewed-by: Uze Choi <email@example.com> Tested-by: Uze Choi <firstname.lastname@example.org>
Showing with 10 additions and 0 deletions