Repository navigation
Commit 197064e
committed
fix(octane): propagate view Dirty flag during promoteDeclarationView
If a view's thrown thenable settles before promoteDeclarationView runs,
settleThrown → invalidateNode marks the view Dirty and clears view.wakeup.
Promotion then installs the stale pending state, skips wakeup handoff
(view.wakeup is gone), and overwrites node.flags to Mutable|Watching without
Dirty. The cell presents an already-settled waiting promise and no wakeup,
so async read() spins indefinitely.
Carry the view's Dirty flag into the promoted node's flags so it
re-evaluates instead of presenting the stale pending state.1 parent 515bdc1 commit 197064e
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1194 | 1194 | | |
1195 | 1195 | | |
1196 | 1196 | | |
1197 | | - | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
1198 | 1200 | | |
1199 | 1201 | | |
1200 | 1202 | | |
| |||
0 commit comments