Skip to content

Commit

Permalink
perf tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm committed Jan 24, 2025
1 parent 10751c8 commit b35e19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte/src/internal/client/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ function process_effects(effect, collected_effects) {
try {
if (check_dirtiness(current_effect)) {
update_effect(current_effect);
if ((current_effect.f & IS_ASYNC) !== 0 && !suspended) {
if ((flags & IS_ASYNC) !== 0 && !suspended) {
suspended = true;
}
}
Expand Down

0 comments on commit b35e19c

Please sign in to comment.