Repository navigation
Commit 3f4ca0f
fix(web): a draft closed mid machine switch no longer rewrites that draft
Since #20418 dropped the effect cleanup, a draft view that unmounted while
openScratchProject was pending kept its request alive, so the completion
still retargeted the draft's machine and project. A layout-effect cleanup
keyed on the draft/project scope now abandons the in-flight request.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent f5cb328 commit 3f4ca0f
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3276 | 3276 | | |
3277 | 3277 | | |
3278 | 3278 | | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
3279 | 3288 | | |
3280 | 3289 | | |
3281 | 3290 | | |
| |||
0 commit comments