Destroy recursively deletes and destroys the node, all of its children, and all of its children's children, etc.
()
| 393 | // Destroy recursively deletes and destroys the node, all of its children, |
| 394 | // and all of its children's children, etc. |
| 395 | func (n *NodeBase) Destroy() { |
| 396 | if n.This == nil { // already destroyed |
| 397 | return |
| 398 | } |
| 399 | n.DeleteChildren() |
| 400 | n.This = nil |
| 401 | } |
| 402 | |
| 403 | // Property Storage: |
| 404 |
nothing calls this directly
no test coverage detected