Add strong close consistency guarantee to reader side
This commit is contained in:
parent
9ccb05a709
commit
14ac1b82d1
@ -25,8 +25,7 @@ class PipeReaderThread(Thread):
|
||||
self._stop_event.set()
|
||||
break
|
||||
if message == self.eof:
|
||||
pipe.close()
|
||||
pipe = self._open()
|
||||
self._open().close()
|
||||
continue
|
||||
self._message_handler(message[:-1])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user