destroy method
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();
}
Unmounts the tree, permanently. Idempotent; every other way of driving this scene asserts once it has been destroyed.
void destroy() {
if (!_mounted) return;
_mounted = false;
node._unmount();
}