Removed issue with watcher being removed twice from a room
This commit is contained in:
parent
f6a98717ab
commit
e2922c784c
@ -73,6 +73,7 @@ class SyncFactory(Factory):
|
||||
self._roomManager.broadcast(watcher, l)
|
||||
|
||||
def removeWatcher(self, watcher):
|
||||
if watcher.getRoom():
|
||||
self.sendLeftMessage(watcher)
|
||||
self._roomManager.removeWatcher(watcher)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user