From 96a8d924c37be6dc8f3d12fdc8eb33111930554d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 23 Sep 2014 02:04:39 -0400 Subject: disconnect watchers when the streamer disconnects --- termcast.py | 1 + 1 file changed, 1 insertion(+) (limited to 'termcast.py') diff --git a/termcast.py b/termcast.py index d5d2fe3..ce97cd7 100644 --- a/termcast.py +++ b/termcast.py @@ -157,6 +157,7 @@ class Connection(object): ) self.handler.process(buf) else: + self.publisher.notify("streamer_disconnect", self.connection_id) return def msg_new_viewer(self, connection_id): -- cgit v1.2.3-54-g00ecf