Use idler to destroy proxy handle 08/240908/2
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 12 Aug 2020 23:01:52 +0000 (08:01 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 12 Aug 2020 23:19:06 +0000 (08:19 +0900)
commit4e54ba806c12182f2fefe9c59a3f4cfa5d32bb2c
tree11b2d5aa85c5cdfe50a63ba6847ab648fe0a879d
parent26eba11264e64b974a4bffb1a5808c2902d5912b
Use idler to destroy proxy handle

Currently, the application can call rpc_port_proxy_handle() in a sub
thread when the main thread is calling the callback function.
It causes the crash issue. To prevent that, this patch uses idler to
destroy handle in the main thread.

Change-Id: Ie3a79c94bb3e69dca8b8aaf4fe91fde1cb9d1f43
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/rpc-port.cc