mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
close connection cleanly when it is dropped
This commit is contained in:
parent
fb3ca83e5f
commit
c596d5d03d
@ -139,6 +139,7 @@ class ClientRepository(DirectObject.DirectObject):
|
||||
if self.qcm.resetConnectionAvailable():
|
||||
resetConnectionPointer = PointerToConnection()
|
||||
if self.qcm.getResetConnection(resetConnectionPointer):
|
||||
self.qcm.closeConnection(resetConnectionPointer.p())
|
||||
self.loginFSM.request("noConnection")
|
||||
return None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user