Originally reported by: **Daniel Pope (Bitbucket: [lordmauve](https://bitbucket.org/lordmauve), GitHub: [lordmauve](https://github.com/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(). ---------------------------------------- - Bitbucket: https://bitbucket.org/lordmauve/pgzero/issue/51