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

Method removeWatcher

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

Source from the content-addressed store, hash-verified

695 self._controllers[watcher.getName()] = watcher
696
697 def removeWatcher(self, watcher):
698 Room.removeWatcher(self, watcher)
699 if watcher.getName() in self._controllers:
700 del self._controllers[watcher.getName()]
701 self.writeToDb()
702
703 def setPaused(self, paused=Room.STATE_PAUSED, setBy=None):
704 if self.canControl(setBy):

Callers

nothing calls this directly

Calls 3

writeToDbMethod · 0.80
removeWatcherMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected