-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
So I think I rather like to know how we should solve this. Now there's no drop logic for nodes at all.
Lets start with my use case, I traverse a document, find node that I want to remove and call unlink() on them. As it is today those unlinked nodes gives a memory leak.
What I would propose is to add a pub fn remove(self){} to node, that would both unlink and free.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels