From ca5215bef34dd35c6bea5f58484df02fcc154135 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Sat, 5 Nov 2022 10:46:10 +0100 Subject: [PATCH] Fix not being able to close the app during initial login phase --- gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui.py b/gui.py index 37570f3..9e8a444 100644 --- a/gui.py +++ b/gui.py @@ -457,7 +457,7 @@ class LoginForm: self._confirm.clear() try: self._button.config(state="normal") - await self._confirm.wait() + await self._manager.coro_unless_closed(self._confirm.wait()) finally: self._button.config(state="disabled") self._confirm.clear()