Skip to content

Commit bc1a4ca

Browse files
committed
oops
1 parent 0bd5310 commit bc1a4ca

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/svelte/src/internal/client/runtime.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,6 @@ export function flush_queued_root_effects() {
570570
old_values.clear();
571571
}
572572
} finally {
573-
is_flushing = false;
574573
is_updating_effect = was_updating_effect;
575574

576575
last_scheduled_effect = null;
@@ -712,10 +711,8 @@ export function flushSync(fn) {
712711
const batch = Batch.ensure();
713712

714713
if (fn) {
715-
is_flushing = true;
716714
flush_queued_root_effects();
717715

718-
is_flushing = true;
719716
result = fn();
720717
}
721718

@@ -730,7 +727,6 @@ export function flushSync(fn) {
730727
return /** @type {T} */ (result);
731728
}
732729

733-
is_flushing = true;
734730
flush_queued_root_effects();
735731
}
736732
}

0 commit comments

Comments
 (0)