Implement support for waiting for PipeIOServer to stop
This commit is contained in:
@ -58,3 +58,6 @@ class PipeIOServer(ABC, Thread):
|
||||
thread.stop()
|
||||
Pipe(self.in_pipe).remove()
|
||||
Pipe(self.out_pipe).remove()
|
||||
|
||||
def wait(self):
|
||||
self._stop_event.wait()
|
||||
|
Reference in New Issue
Block a user