Clean g.WindowsById storage on shutdown.

features/sdl_renderer3_multiviewports
Branimir Karadžić ago%!(EXTRA string=8 years) committed by omar
parent ba09de3a39
commit 9daac64ff8
  1. 1
      imgui.cpp

@ -2462,6 +2462,7 @@ void ImGui::Shutdown()
g.WindowsSortBuffer.clear();
g.CurrentWindow = NULL;
g.CurrentWindowStack.clear();
g.WindowsById.Clear();
g.NavWindow = NULL;
g.HoveredWindow = NULL;
g.HoveredRootWindow = NULL;

Loading…
Cancel
Save