Skip to content

Commit bcd3aca

Browse files
committed
simpler fix
1 parent 7e6a3bf commit bcd3aca

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

packages/svelte/src/internal/client/dom/blocks/boundary.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,6 @@ export class Boundary {
259259
this.#anchor.before(this.#offscreen_fragment);
260260
this.#offscreen_fragment = null;
261261
}
262-
263-
const batch = current_batch;
264-
265-
if (batch) {
266-
queue_micro_task(() => {
267-
batch.flush();
268-
});
269-
}
270262
}
271263
}
272264

packages/svelte/src/internal/client/reactivity/batch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ export function suspend() {
685685
batch.activate();
686686
batch.decrement();
687687
} else {
688-
batch.deactivate();
688+
batch.flush();
689689
}
690690

691691
unset_context();

0 commit comments

Comments
 (0)