Skip to content

Commit 10e973e

Browse files
committed
Rework storage for Accessors
The initial storage (trees/nodes) and lifecycle model for Accessors left open a race between node self-cleanup (removing the associated entry from a tree on drop) and racing node re-parenting (as part of node adoption or orphaning). This changes how nodes are cleaned up from their containing tree, and simplifies indexing of nodes in said tree to use (opaque) pointers, rather than arbitrary numeric IDs. Fixes #675
1 parent 84e423b commit 10e973e

File tree

1 file changed

+280
-242
lines changed

1 file changed

+280
-242
lines changed

0 commit comments

Comments
 (0)