SpaiR / imgui-java

JNI based binding for Dear ImGui
MIT License
551 stars 90 forks source link

Add callback freeing #146

Closed theVerySharpFlat closed 1 year ago

theVerySharpFlat commented 1 year ago

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

theVerySharpFlat commented 1 year ago

I fixed a format issue. Sorry about that!