App does not close until mouse is moved when App.on_exit is async but does not await #4450
areslagae
started this conversation in
Debugging help
Replies: 1 comment
|
I think this is a manifestation of a current known bug - see #4394. There's a candidate fix associated with that issue - I need to investigate further to see if there is a better solution. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
The app below does not close until the mouse is moved after clicking on close when CONFIRM_EXIT is False (macOS Tahoe 26.2, Python 3.14.5, Toga 0.5.4). In this case, the async method on_exit does not await.
To test click the close button not moving the mouse.
I am not sure if this is considered a usage error or a Toga error. Feel free to let me know so I can submit a bug report if needed.
All reactions