We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bd5310 commit bc1a4caCopy full SHA for bc1a4ca
packages/svelte/src/internal/client/runtime.js
@@ -570,7 +570,6 @@ export function flush_queued_root_effects() {
570
old_values.clear();
571
}
572
} finally {
573
- is_flushing = false;
574
is_updating_effect = was_updating_effect;
575
576
last_scheduled_effect = null;
@@ -712,10 +711,8 @@ export function flushSync(fn) {
712
711
const batch = Batch.ensure();
713
714
if (fn) {
715
- is_flushing = true;
716
flush_queued_root_effects();
717
718
719
result = fn();
720
721
@@ -730,7 +727,6 @@ export function flushSync(fn) {
730
727
return /** @type {T} */ (result);
731
728
732
729
733
734
735
736
0 commit comments