Fix enrollee sample application's crach issue 93/13593/2
authorJihun Ha <jihun.ha@samsung.com>
Mon, 24 Oct 2016 03:06:35 +0000 (12:06 +0900)
committerUze Choi <uzchoi@samsung.com>
Tue, 25 Oct 2016 05:37:26 +0000 (05:37 +0000)
commited229def4d41d07ebbea02260bebaebe1491d256
tree5f97c5fc02cf20d7a527dc0874814902b3ff0c9c
parentefc08d28c818b9060d54b3a1b9931c9a8210b6f2
Fix enrollee sample application's crach issue

Before OCStop() is called, listen thread for calling OCProcess() should
be terminated.

Change-Id: Ibe4f702bb7c71beaf8bb58a8fe21acb873ad06d6
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13583
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Heewon Park <h_w.park@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 9331e5eddab194f9f17bf09c3b0c70da5c87ab77)
Reviewed-on: https://gerrit.iotivity.org/gerrit/13593
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c