Files
opencode/packages
LukeParkerDev 8fd7bd19d6 fix: defer terminal cleanup state write to stop cleanNode reentry crash
Terminal onCleanup ran persistTerminal synchronously during a dispose cascade, which flowed through props.onCleanup -> ops.update -> update() in context/terminal.tsx and fired setStore on the terminal store. That store write reentered the reactive graph mid cleanNode iteration; solid then nulled an ancestors owned while an outer cleanNode recursion was still iterating it, crashing with Cannot read properties of null reading 1 at node.owned[i]. Wrapping finalize in queueMicrotask pushes the store write past the current synchronous cleanup cascade so the teardown cannot race with cleanNodes owned walk.
2026-04-19 13:19:13 +10:00
..
2026-01-21 14:36:21 -06:00
2026-04-19 03:02:14 +00:00
2026-04-19 03:02:14 +00:00
2026-04-19 03:02:14 +00:00
2026-04-19 03:02:14 +00:00
2026-04-19 03:02:14 +00:00