forked from p15670423/monkey
Agent: Call pipe.start(), not run()
run() blocks, start() starts the run method on a different thread.
This commit is contained in:
parent
9002c47d56
commit
fe954bb659
|
@ -37,7 +37,7 @@ class TCPPipeSpawner:
|
|||
pipe = SocketsPipe(source, dest, self._handle_pipe_closed)
|
||||
with self._lock:
|
||||
self._pipes.add(pipe)
|
||||
pipe.run()
|
||||
pipe.start()
|
||||
|
||||
def has_open_pipes(self) -> bool:
|
||||
"""Return whether or not the TCPPipeSpawner has any open pipes."""
|
||||
|
|
Loading…
Reference in New Issue