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

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()