aboutsummaryrefslogtreecommitdiff
path: root/include/loop.h
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2025-07-31 15:44:49 +0200
committerSimon Ser <contact@emersion.fr>2025-07-31 15:57:28 +0200
commit357d341f8fd68cd6902ea029a46baf5ce3411336 (patch)
treeb3dd101ae437f9e8129a4bb3f94b48861de6a30b /include/loop.h
parent14fbe9242fd43c5f58b2b55ec11bd1ead9dab3eb (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 'include/loop.h')
0 files changed, 0 insertions, 0 deletions