Merge pull request #7669 from minrk/wakeup

use \0 instead of 'wake up' to finish output
This commit is contained in:
Thomas Kluyver 2015-02-02 17:37:50 -08:00
commit 6e8921c682

View File

@ -388,7 +388,7 @@ class StreamCapturer(Thread):
return
self.stop.set()
os.write(self.writefd, b'wake up') # Ensure we're not locked in a read()
os.write(self.writefd, b'\0') # Ensure we're not locked in a read()
self.join()
class SubprocessStreamCapturePlugin(Plugin):