Node.destroy

void destroy()

Removes root and its children from the tree, freeing any memory allocated.