mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-11-04 09:44:29 +00: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