I can't close ("quit") the app #3792
|
I'm new to Tonga, I create this simple SQLite app. |
Answered by
freakboy3742
Oct 7, 2025
Replies: 1 comment 1 reply
|
You haven't provided much detail about the exact details of the behavior you're seeing, or the platform you're seeing it on; but my guess would be that your
|
1 reply
Answer selected by
goehte
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You haven't provided much detail about the exact details of the behavior you're seeing, or the platform you're seeing it on; but my guess would be that your
on_exit()method is the problem.on_exit()has a return value - if you return False, the request to exit the app is rejected. Youron_exit()method doesn't have a return statement; so it will be defaulting toreturn None- which is a False-y value, preventing the app from exiting.