do not crash when authentication with server fails. Fixes #8115
This commit is contained in:
parent
d65882dea5
commit
42cec3e7f2
|
@ -1532,7 +1532,7 @@ class Connection(CommonConnection, ConnectionHandlers):
|
|||
if self.on_connect_auth:
|
||||
self.on_connect_auth(None)
|
||||
self.on_connect_auth = None
|
||||
return
|
||||
return
|
||||
if not self.connected: # We went offline during connecting process
|
||||
if self.on_connect_auth:
|
||||
self.on_connect_auth(None)
|
||||
|
|
Loading…
Reference in New Issue