Index: build/android/pylib/chrome_test_server_spawner.py |
diff --git a/build/android/pylib/chrome_test_server_spawner.py b/build/android/pylib/chrome_test_server_spawner.py |
index 47fc4f4fd457bd5916252e4a851bebc0ef8b4ff6..2a0fa4641ceaeed81f081196f35a53c7e11f5eff 100644 |
--- a/build/android/pylib/chrome_test_server_spawner.py |
+++ b/build/android/pylib/chrome_test_server_spawner.py |
@@ -256,7 +256,7 @@ class TestServerThread(threading.Thread): |
if self.process.poll() is None: |
self.process.kill() |
if self._test_server_forwarder: |
- self._test_server_forwarder.Close() |
+ self._test_server_forwarder.UnmapDevicePort(self.forwarder_device_port) |
self.process = None |
self.is_ready = False |
if self.pipe_out: |