mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
Replace new/delete TreeNode with TreePool::create/discardTreeNode
This commit is contained in:
@@ -20,8 +20,6 @@ void TreeNode::release() {
|
||||
}
|
||||
}
|
||||
printf("Delete %d(%p)\n", m_identifier, this);
|
||||
int identifier = m_identifier;
|
||||
delete this;
|
||||
TreePool::sharedPool()->freeIdentifier(identifier);
|
||||
TreePool::sharedPool()->discardTreeNode(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user