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

Method destroyProtocol

syncplay/client.py:160–163  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 self._protocol = protocol
159
160 def destroyProtocol(self):
161 if self._protocol:
162 self._protocol.drop()
163 self._protocol = None
164
165 def initPlayer(self, player):
166 self._player = player

Callers 2

stopMethod · 0.95
connectionLostMethod · 0.80

Calls 1

dropMethod · 0.45

Tested by

no test coverage detected