Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add callback freeing #146

Merged
merged 2 commits into from
Nov 24, 2022

Conversation

theVerySharpFlat
Copy link
Contributor

Description

Running an LWJGL application using the debug library indicated that the GLFW callbacks were not being freed on window destruction, and as a result, memory was leaked. To fix this, I went in and added function calls to the destructors of the callbacks where necessary.

Type of change

  • Minor changes or tweaks (quality of life stuff)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@theVerySharpFlat
Copy link
Contributor Author

I fixed a format issue. Sorry about that!

@SpaiR SpaiR added the fix Fixes problems label Nov 24, 2022
@SpaiR SpaiR merged commit 62377c7 into SpaiR:main Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fixes problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants