markReleased

Marks tree as released. The tree stays in the registry until it is garbage collected, so a released tree that is still reachable can be reported as a leak.