1
0
mirror of synced 2025-01-29 19:17:28 +01:00

fix: Memory leak when closing ImHex

This commit is contained in:
WerWolv 2024-03-21 21:28:06 +01:00
parent 05ffcab911
commit 9236b92dc1

View File

@ -984,6 +984,8 @@ namespace hex {
void Window::exitImGui() { void Window::exitImGui() {
ImGui_ImplOpenGL3_Shutdown(); ImGui_ImplOpenGL3_Shutdown();
ImGui_ImplGlfw_Shutdown(); ImGui_ImplGlfw_Shutdown();
ImNodes::DestroyContext();
ImPlot::DestroyContext(); ImPlot::DestroyContext();
ImGui::DestroyContext(); ImGui::DestroyContext();
} }