diff --git a/src/window_manager.cc b/src/window_manager.cc index d7bc980..217ea94 100644 --- a/src/window_manager.cc +++ b/src/window_manager.cc @@ -265,6 +265,8 @@ void windowManagerExit(void) textFontsExit(); _colorsClose(); + SDL_DestroyWindow(gSdlWindow); + gWindowSystemInitialized = false; #ifdef _WIN32