| Index: tools/android/forwarder2/host_controller.cc
|
| diff --git a/tools/android/forwarder2/host_controller.cc b/tools/android/forwarder2/host_controller.cc
|
| index eb49ee99a15f182fe7b5e90d3541b0040a319c9b..f9a8e80e4053417f82d548738a639ef04abb09ee 100644
|
| --- a/tools/android/forwarder2/host_controller.cc
|
| +++ b/tools/android/forwarder2/host_controller.cc
|
| @@ -176,7 +176,7 @@ void HostController::UnmapPortOnDevice() {
|
| << device_port_;
|
| return;
|
| }
|
| - if (!ReceivedCommand(command::UNLISTEN_SUCCESS, &socket)) {
|
| + if (!ReceivedCommandWithTimeout(command::UNLISTEN_SUCCESS, &socket, 10)) {
|
| LOG(ERROR) << device_serial_
|
| << ": Unmap command failed for port "
|
| << device_port_;
|
|
|