Skip to content

Commit c9346ab

Browse files
committed
Revert "chore: avoid microtasks when flushing sync (alternative) (sveltejs#15895)
* chore: avoid microtasks when flushing sync * chore: avoid microtasks when flushing sync * chore: avoid microtasks when flushing sync * tweak * WIP * another * more * tweak * fix * fix * belt and braces * Revert "belt and braces" This reverts commit f8de1cf. --------- Co-authored-by: Dominic Gannaway <[email protected]>" This reverts commit b616412.
1 parent 2342c87 commit c9346ab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,8 +823,6 @@ export function flushSync(fn) {
823823
if (fn) {
824824
is_flushing = true;
825825
flush_queued_root_effects();
826-
827-
is_flushing = true;
828826
result = fn();
829827
}
830828

0 commit comments

Comments
 (0)