diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-09-23 02:04:39 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-09-23 02:04:39 -0400 |
commit | 96a8d924c37be6dc8f3d12fdc8eb33111930554d (patch) | |
tree | 10bcf4f7d28e9d195c00b7900ea154765ee35077 /termcast.py | |
parent | d158e292536dc139379f1beb95891892dbd321d0 (diff) | |
download | python-termcast-server-96a8d924c37be6dc8f3d12fdc8eb33111930554d.tar.gz python-termcast-server-96a8d924c37be6dc8f3d12fdc8eb33111930554d.zip |
disconnect watchers when the streamer disconnects
Diffstat (limited to 'termcast.py')
-rw-r--r-- | termcast.py | 1 |
1 files changed, 1 insertions, 0 deletions
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): |