Merge branch 'main' into each-block-pending

async-svelte-map
Rich Harris 7 months ago
commit 0901f4b19f

@ -0,0 +1,5 @@
---
'svelte': patch
---
fix: skip redundant batch.apply

@ -340,7 +340,7 @@ export class Batch {
flush() { flush() {
if (queued_root_effects.length > 0) { if (queued_root_effects.length > 0) {
this.activate(); current_batch = this;
flush_effects(); flush_effects();
} else if (this.#pending === 0 && !this.is_fork) { } else if (this.#pending === 0 && !this.is_fork) {
// append/remove branches // append/remove branches

Loading…
Cancel
Save