notify for node kill on NodeList clear

This commit is contained in:
Stephen Birarda 2014-01-02 10:01:47 -08:00
parent a0cf2c8fb1
commit 591876eaf3

View file

@ -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;