LADX: Closing the client window closes the window (#4350)
This commit is contained in:
parent
9507300939
commit
3a46c9fd3e
|
@ -560,6 +560,10 @@ class LinksAwakeningContext(CommonContext):
|
||||||
|
|
||||||
while self.client.auth == None:
|
while self.client.auth == None:
|
||||||
await asyncio.sleep(0.1)
|
await asyncio.sleep(0.1)
|
||||||
|
|
||||||
|
# Just return if we're closing
|
||||||
|
if self.exit_event.is_set():
|
||||||
|
return
|
||||||
self.auth = self.client.auth
|
self.auth = self.client.auth
|
||||||
await self.send_connect()
|
await self.send_connect()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue