diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-09-15 11:23:33 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-09-15 11:23:33 -0400 |
commit | c560af035c36fd1d1f867dce87dbba9f6594daef (patch) | |
tree | 9a8097ec31aca1f398053ec428dca1fa19fcd66f | |
parent | cae103673d6a8c9f34e089680cb7488b8fbd2784 (diff) | |
download | python-termcast-server-c560af035c36fd1d1f867dce87dbba9f6594daef.tar.gz python-termcast-server-c560af035c36fd1d1f867dce87dbba9f6594daef.zip |
need to stop watching when we disconnect
-rw-r--r-- | ssh.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,6 +27,7 @@ class Connection(object): while True: self.initialized = False + self.watching_id = None self.watching_id = self.select_stream() if self.watching_id is None: |