Commit b1e599a
committed
fix: use macrotask state boundary in thread statequeue (#2116)
I initially thought a microtask boundary was sufficient, but with wasm
breakpoints with no symbols (where we resume synchronously) I observed
that sometimes the queued `resume` would not be dequeued before the
next paused event was handled. So this moves it to a full macrotask.1 parent ce5dfbb commit b1e599a
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
149 | 150 | | |
150 | | - | |
| 151 | + | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| |||
0 commit comments