Skip to content

Conversation

@yancouto
Copy link

@yancouto yancouto commented Jul 2, 2021

This PR exposes a cleanup function as public (similar to the present init functions), which allows cleaning up early.

This makes stuff more customisable. In my game that uses bracket-lib, using the normal cleanup (which uses libc::atexit) makes the window hang when it's closing, for some reason, so I use this change to do the cleanup early and not leave the screen hanging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants