Fix crash in cpp wrapper. 52/208352/1
authorJaehyun Cho <jaehyun3.cho@samsung.com>
Mon, 20 May 2019 05:38:04 +0000 (14:38 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 24 Jun 2019 00:51:06 +0000 (09:51 +0900)
commit290fb9a5c9c5b6fa52e5c7b6a664b51d061af81b
tree8efdbb2187b5c070509dee104ae66a0213b36954
parent312b02d26bd69687470407b878eb88cb28cc5c6e
Fix crash in cpp wrapper.

When application is run with Both mode, in InProcClientWrapper start
logic for making procession thread is not executed. But, when stop
application, thread join processing and event free logic is executed
regardless mode. So I moved that logic into mode check statement. This
can make that logic is executed only mode is client.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/b5c0bd60cef0c305dfb07239cbfbd3529a39afec
(cherry picked from b5c0bd60cef0c305dfb07239cbfbd3529a39afec)

Change-Id: I713f0019051f4970d6122e458186795fd070112e
Signed-off-by: Jaehyun Cho <jaehyun3.cho@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
resource/src/InProcClientWrapper.cpp