do not crash when authentication with server fails. Fixes #8115
This commit is contained in:
parent
d65882dea5
commit
42cec3e7f2
1 changed files with 1 additions and 1 deletions
|
@ -1532,7 +1532,7 @@ class Connection(CommonConnection, ConnectionHandlers):
|
||||||
if self.on_connect_auth:
|
if self.on_connect_auth:
|
||||||
self.on_connect_auth(None)
|
self.on_connect_auth(None)
|
||||||
self.on_connect_auth = None
|
self.on_connect_auth = None
|
||||||
return
|
return
|
||||||
if not self.connected: # We went offline during connecting process
|
if not self.connected: # We went offline during connecting process
|
||||||
if self.on_connect_auth:
|
if self.on_connect_auth:
|
||||||
self.on_connect_auth(None)
|
self.on_connect_auth(None)
|
||||||
|
|
Loading…
Add table
Reference in a new issue