I can't close ("quit") the app #3792
-
|
I'm new to Tonga, I create this simple SQLite app. |
Beta Was this translation helpful? Give feedback.
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
|
Beta Was this translation helpful? Give feedback.
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.