Fix for crash in InProcClientWrapper destructor.
authorjihwanseo <jihwan.seo@samsung.com>
Fri, 2 Dec 2016 11:40:41 +0000 (20:40 +0900)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Mon, 12 Dec 2016 15:22:34 +0000 (15:22 +0000)
commit6fb0e8863906059c9925e0822e04413649da3654
tree0d73d010f8852bc8c2514de2eeaffc6218dff10d
parent0ebeabf9c1c2dc1ecf59ac3cc04ad7558ce4299f
Fix for crash in InProcClientWrapper destructor.

InProcClientWrapper::stop() throws an exception when stack
is already stopped. Not catching this exception would terminate
application.

Change-Id: I50bb6befb716049da275c16a4fdbf96437c2ad03
Signed-off-by: Harry <h.marappa@samsung.com>
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15169
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/src/InProcClientWrapper.cpp
resource/src/InProcServerWrapper.cpp