Skip to content

Commit

Permalink
Update packages/svelte/src/internal/client/runtime.js
Browse files Browse the repository at this point in the history
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
  • Loading branch information
Rich-Harris and dummdidumm authored Feb 18, 2024
1 parent a9fbe4d commit d253070
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/svelte/src/internal/client/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,6 @@ export function flush_sync(fn, flush_previous = true) {
flush_count = 0;
} finally {
current_scheduler_mode = previous_scheduler_mode;
// TODO is this correct to reset the previous queues? They're flushed if flush_previous is true so should we set it to empty in that case instead?
current_queued_pre_and_render_effects = previous_queued_pre_and_render_effects;
current_queued_effects = previous_queued_effects;
}
Expand Down

0 comments on commit d253070

Please sign in to comment.