LADX: Closing the client window closes the window (#4350)

This commit is contained in:
Ishigh1 2025-01-17 20:05:02 +01:00 committed by GitHub
parent 9507300939
commit 3a46c9fd3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -560,6 +560,10 @@ class LinksAwakeningContext(CommonContext):
while self.client.auth == None:
await asyncio.sleep(0.1)
# Just return if we're closing
if self.exit_event.is_set():
return
self.auth = self.client.auth
await self.send_connect()