Commit bfb6428
fix: increase macrotask flush rounds for WebKit async disposal
The TextModelResolverService.destroyReferencedObject has a multi-level
async chain that needs multiple macrotask yields to complete in WebKit.
Use 3 rounds of microtask + setTimeout(0) flushing instead of 1.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c33200c commit bfb6428
1 file changed
Lines changed: 6 additions & 7 deletions
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
307 | 306 | | |
308 | 307 | | |
309 | 308 | | |
| |||
0 commit comments