destroy method

void destroy()

Unmounts the tree, permanently. Idempotent; every other way of driving this scene asserts once it has been destroyed.

Implementation

void destroy() {
  if (!_mounted) return;
  _mounted = false;
  node._unmount();
}