We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Originally reported by: Daniel Pope (Bitbucket: lordmauve, GitHub: lordmauve)
Add a hook that is called before Pygame Zero exits, whether it is by closing the window, pressing Ctrl+Q, or calling sys.exit().