mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
notify for node kill on NodeList clear
This commit is contained in:
parent
a0cf2c8fb1
commit
591876eaf3
1 changed files with 2 additions and 2 deletions
|
@ -294,9 +294,9 @@ void NodeList::clear() {
|
|||
Node* node = nodeBucket[i % NODES_PER_BUCKET];
|
||||
|
||||
node->lock();
|
||||
delete node;
|
||||
notifyHooksOfKilledNode(&*node);
|
||||
|
||||
node = NULL;
|
||||
delete node;
|
||||
}
|
||||
|
||||
_numNodes = 0;
|
||||
|
|
Loading…
Reference in a new issue