Rework port listening timeout 13/185913/3
authorIgor Kotrasinski <i.kotrasinsk@partner.samsung.com>
Thu, 2 Aug 2018 10:25:26 +0000 (12:25 +0200)
committerIgor Kotrasinski <i.kotrasinsk@partner.samsung.com>
Tue, 21 Aug 2018 10:37:29 +0000 (12:37 +0200)
commitc0f0f411825e1e6fbe91cb88fd75e892c08547b4
tree49ce5a983860aa81a9cb5f7037aabb8c98c94854
parente46c2af1a7c42edf3275620126574a426ab3a72b
Rework port listening timeout

Apparently passing in lambda with automatic storage duration to boost::spawn
causes UB. Use a static method instead and make sure to cancel it properly
after we're done listening.

Change-Id: Ia3817a82fba6150690879d6839b8466e4072a3bb
Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
simulatordaemon/debugproxy/inc/ProxySession.h
simulatordaemon/debugproxy/src/ProxySession.cpp