Fix a bug about callback invocation 38/271638/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 24 Feb 2022 02:56:32 +0000 (11:56 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 24 Feb 2022 02:56:32 +0000 (11:56 +0900)
commitba5621bd991eb43989c5b65e0cd4b90ffd129218
tree4781592374290c2bdecee4c895e0c3c4203f0d23
parentb39392ea6a48a0a7b1c11b6dba908cd6f4e357b3
Fix a bug about callback invocation

The connection request will not be successful until the stub is the idle state.
After sending the connection request to the stub, the proxy cannot get
the rejected event or the disconnected event until the stub is the idle
state. Because, when the port is appeared, the proxy removes the connection timer.
This patch adjusts a position of the UnsetConnTimer() call to remove
the connection timer properly.

Change-Id: I4d0fb651fd30c77df9088580b38b171f1a98ca5d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/proxy-internal.cc