MCPcopy Create free account
hub / github.com/cogentcore/core / Destroy

Method Destroy

tree/node.go:52–52  ·  view source on GitHub ↗

Destroy recursively deletes and destroys the node, all of its children, and all of its children's children, etc. Node types can implement this to do additional necessary destruction; if they do, they should call [NodeBase.Destroy] at the end of their implementation.

()

Source from the content-addressed store, hash-verified

50 // to do additional necessary destruction; if they do, they should call
51 // [NodeBase.Destroy] at the end of their implementation.
52 Destroy()
53
54 // NodeWalkDown is a method that nodes can implement to traverse additional nodes
55 // like widget parts during [NodeBase.WalkDown]. It is called with the function passed

Callers 15

DestroyMethod · 0.65
DestroyMethod · 0.65
DestroyMethod · 0.65
DestroyMethod · 0.65
FreeMethod · 0.65
DestroyMethod · 0.65
DestroyMethod · 0.65
FreeMethod · 0.65
DestroyMethod · 0.65
FreeSwapchainMethod · 0.65
DestroyMethod · 0.65
DestroyMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected