imgui-node-editor
imgui-node-editor copied to clipboard
Object containers in the EditorContext are not properly cleaned up
The object containers m_Nodes, m_Pins, m_Links inside EditorContext are not properly cleaned after a node or link is deleted. As long as the same EditorContext is used, these containers continue to inflate. So when a node is deleted, if a same ID is used to create another node, the FindNode function returns the previous node object with the settings of the previous node. In groups, for example, this problem causes it to have the previous group's size when a new group with the same ID is created (after the first one is deleted).