Skip to content
Discussion options

You must be logged in to vote

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. Your on_exit() method doesn't have a return statement; so it will be defaulting to return None - which is a False-y value, preventing the app from exiting.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@goehte
Comment options

Answer selected by goehte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants