From c560af035c36fd1d1f867dce87dbba9f6594daef Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 15 Sep 2014 11:23:33 -0400 Subject: need to stop watching when we disconnect --- ssh.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ssh.py b/ssh.py index e191438..92a5cb7 100644 --- a/ssh.py +++ b/ssh.py @@ -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: -- cgit v1.2.3-54-g00ecf