mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-07 04:11:51 -04:00
disconnect immediately after recving a boot message
This commit is contained in:
parent
fb9f2a2eeb
commit
336b478266
@ -572,6 +572,10 @@ class ClientRepositoryBase(ConnectionRepository):
|
|||||||
self.notify.warning(
|
self.notify.warning(
|
||||||
"Server is booting us out with no explanation.")
|
"Server is booting us out with no explanation.")
|
||||||
|
|
||||||
|
# disconnect now, don't wait for send/recv to fail
|
||||||
|
self.stopReaderPollTask()
|
||||||
|
self.lostConnection()
|
||||||
|
|
||||||
def handleServerHeartbeat(self, di):
|
def handleServerHeartbeat(self, di):
|
||||||
# Got a heartbeat message from the server.
|
# Got a heartbeat message from the server.
|
||||||
if base.config.GetBool('server-heartbeat-info', 1):
|
if base.config.GetBool('server-heartbeat-info', 1):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user