Skip to content
Discussion options

You must be logged in to vote

If SideBox exists in a hierarchy, you probably want to use despawn_recursive.

devil-ira's advice may work as well, but it's likely that your SideBar has children that need to be despawned as well. If that's the case, I would use despawn_recursive.

The root problem is that despawn does not automatically maintain your hierarchy. despawn_recursive is "hierarchy aware."

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dolto
Comment options

Answer selected by dolto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants