aboutsummaryrefslogtreecommitdiffstats
path: root/ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.py')
-rw-r--r--ssh.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh.py b/ssh.py
index 0758d49..e191438 100644
--- a/ssh.py
+++ b/ssh.py
@@ -37,6 +37,7 @@ class Connection(object):
while True:
c = self.chan.recv(1)
if c == b'q':
+ self.publisher.notify("viewer_disconnect", self.watching_id)
break
self.chan.close()