1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-12 02:00:58 +01:00

Clean g.WindowsById storage on shutdown.

This commit is contained in:
Branimir Karadžić 2017-11-10 22:59:06 -08:00 committed by omar
parent ba09de3a39
commit 9daac64ff8

View File

@ -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;