mirror of https://github.com/sveltejs/svelte
fix: don't restore batch in `#await` (#17051)
#16977 had one slight regression which might contribute to #16990: The batch from earlier was restored, but that doesn't make sense in this situations since this has nothing to do with our new async logic of batches suspending until pending work is done. As a result you could end up with a batch being created, and then the restore then instead reverting to an earlier batch that was already done, which means a ghost-batch ends up in the set of batches, subsequently triggering time traveling when it shouldn't. This may help with #16990 No test because basically impossible to do sopull/17053/head
parent
cc0143c904
commit
d2f453f8b0
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: don't restore batch in `#await`
|
||||
Loading…
Reference in new issue