mirror of https://github.com/Syncplay/syncplay
Stop connection retrying from client when bad packets are detected
This commit is contained in:
parent
be6c84f34d
commit
43486e9be8
|
@ -34,6 +34,11 @@ class SyncClientFactory(ClientFactory):
|
|||
self._timesTried = 0
|
||||
return SyncClientProtocol(self._client)
|
||||
|
||||
def stopRetrying(self):
|
||||
self._client._reconnectingService.stopService()
|
||||
self._client.ui.showErrorMessage(getMessage("disconnection-notification"))
|
||||
|
||||
|
||||
class SyncplayClient(object):
|
||||
def __init__(self, playerClass, ui, config):
|
||||
constants.SHOW_OSD = config['showOSD']
|
||||
|
|
Loading…
Reference in New Issue