mirror of
https://github.com/Drezil/imgui.git
synced 2025-08-05 11:33:14 +02:00
Clean g.WindowsById storage on shutdown.
This commit is contained in:
@ -2462,6 +2462,7 @@ void ImGui::Shutdown()
|
|||||||
g.WindowsSortBuffer.clear();
|
g.WindowsSortBuffer.clear();
|
||||||
g.CurrentWindow = NULL;
|
g.CurrentWindow = NULL;
|
||||||
g.CurrentWindowStack.clear();
|
g.CurrentWindowStack.clear();
|
||||||
|
g.WindowsById.Clear();
|
||||||
g.NavWindow = NULL;
|
g.NavWindow = NULL;
|
||||||
g.HoveredWindow = NULL;
|
g.HoveredWindow = NULL;
|
||||||
g.HoveredRootWindow = NULL;
|
g.HoveredRootWindow = NULL;
|
||||||
|
Reference in New Issue
Block a user