diff options
| author | Kenny Levinsen <kl@kl.wtf> | 2025-07-31 15:44:49 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2025-07-31 15:57:28 +0200 |
| commit | 357d341f8fd68cd6902ea029a46baf5ce3411336 (patch) | |
| tree | b3dd101ae437f9e8129a4bb3f94b48861de6a30b /protocols | |
| parent | 14fbe9242fd43c5f58b2b55ec11bd1ead9dab3eb (diff) | |
tree/node: Do not mark destroying nodes as dirty
Node destruction currently runs through the transaction system such that
a particular node is only destroyed after its use in an ongoing
transaction. If a node is dirtied after the node is marked as destroying
but before it is destroyed, the pointer added to dirty_nodes would
become a dangling pointer once the node was destroyed.
Do not dirty destroying nodes, and ensure that destroying is only set
after the last dirty.
Diffstat (limited to 'protocols')
0 files changed, 0 insertions, 0 deletions
