MCPcopy Create free account
hub / github.com/Syncplay/syncplay / removeWatcher

Method removeWatcher

syncplay/server.py:479–483  ·  view source on GitHub ↗
(self, watcher)

Source from the content-addressed store, hash-verified

477 room.addWatcher(watcher)
478
479 def removeWatcher(self, watcher):
480 oldRoom = watcher.getRoom()
481 if oldRoom:
482 oldRoom.removeWatcher(watcher)
483 self._deleteRoomIfEmpty(oldRoom)
484
485 def _getRoom(self, roomName):
486 if roomName in self._rooms:

Callers 1

moveWatcherMethod · 0.95

Calls 3

_deleteRoomIfEmptyMethod · 0.95
getRoomMethod · 0.45
removeWatcherMethod · 0.45

Tested by

no test coverage detected