You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO Mark all deep children nodes as 'deleted'
auto it = std::find(m_vecRoot.begin(), m_vecRoot.end(), id);
if (it != m_vecRoot.end()) {
TreeNode* node = this->ptrNode(id);
Expects(node != nullptr);
node->isDeleted = true;
m_vecRoot.erase(it);
}
}` In this part, if the model is opened repeatedly and then removed, the node content is not completely deleted, which will cause the memory to continue to increase.
The text was updated successfully, but these errors were encountered:
`template void Tree::removeRoot(TreeNodeId id)
{
Expects(this->nodeIsRoot(id));
}` In this part, if the model is opened repeatedly and then removed, the node content is not completely deleted, which will cause the memory to continue to increase.
The text was updated successfully, but these errors were encountered: