[CONPRO-1442] Fix crash in cpp wrapper. 38/208338/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:48:47 +0000 (09:48 +0900)
commit57a5cd3ae30e0f63d0d5a8258a19f46539da8d72
tree85648acb6c5d82996bc1ecd9d5bcaa15aba2b95c
parent775df5a38900034c8023c0fddfefa265123b8884
[CONPRO-1442] 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