:s that's not so good.

Certainly, the current implementation will dealloc the memory when the Tree is garbage collected, and the attributes that wrap its data are left pointing to unallocated memory as in #2726.