From 875e0a587b5453a37d5051fa664c82c85f9bd609 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 6 Dec 2020 09:22:38 +0200 Subject: [PATCH] ggwave-gui : minor --- examples/ggwave-gui/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/ggwave-gui/main.cpp b/examples/ggwave-gui/main.cpp index b300f6b..d672e17 100644 --- a/examples/ggwave-gui/main.cpp +++ b/examples/ggwave-gui/main.cpp @@ -87,9 +87,12 @@ int main(int argc, char** argv) { } deinitMain(worker); - GGWave_deinit(); + // Cleanup + ImGui_Shutdown(); + ImGui::DestroyContext(); + SDL_GL_DeleteContext(g_gl_context); SDL_DestroyWindow(g_window); SDL_Quit();