changa
changa copied to clipboard
Be sure Node Cache is invalidated when a new tree is built
At the moment, the programmer needs to remember to call TreePiece::finishNodeCache() after the last use of the tree and before the tree is rebuilt. Mistakes can be avoided if this was always done at tree build time.