console: Don't leave defunct SSH processes around

This commit is contained in:
Cole Robinson 2012-07-08 14:23:25 -04:00
parent f7eb8f0f96
commit 5333002646

View File

@ -201,6 +201,7 @@ class Tunnel(object):
self.errfd = None
os.kill(self.pid, signal.SIGKILL)
os.waitpid(self.pid, 0)
self.pid = None
def get_err_output(self):