mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
disconnect during warning message
This commit is contained in:
parent
e5c2fc201e
commit
7420d4adbc
@ -145,6 +145,7 @@ class ClientRepository(DirectObject.DirectObject):
|
||||
# Unable to receive a datagram: did we lose the connection?
|
||||
if self.tcpConn.isClosed():
|
||||
self.tcpConn = None
|
||||
self.stopReaderPollTask()
|
||||
self.loginFSM.request("noConnection")
|
||||
return 0
|
||||
|
||||
@ -169,6 +170,7 @@ class ClientRepository(DirectObject.DirectObject):
|
||||
self.qcm.closeConnection(resetConn)
|
||||
if self.tcpConn.this == resetConn.this:
|
||||
self.tcpConn = None
|
||||
self.stopReaderPollTask()
|
||||
self.loginFSM.request("noConnection")
|
||||
else:
|
||||
self.notify.warning("Lost unknown connection.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user