Kill process on disconnect (ptyshell)

This commit is contained in:
Oleksii Shevchuk 2017-05-22 14:55:10 +03:00
parent d7fad5feb3
commit 89e06c1c45
1 changed files with 3 additions and 0 deletions

View File

@ -199,7 +199,10 @@ class PtyShell(object):
if not_eof:
not_eof = self.prog.poll() is None
else:
break
self.close()
close_cb()
def start_read_loop(self, print_callback, close_callback):