Skip to content

Commit 03485fa

Browse files
committed
this appears to be unnecessary
1 parent 27fe22b commit 03485fa

File tree

1 file changed

+5
-9
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+5
-9
lines changed

packages/svelte/src/internal/client/reactivity/effects.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -599,15 +599,11 @@ function resume_children(effect, local) {
599599
if ((effect.f & INERT) === 0) return;
600600
effect.f ^= INERT;
601601

602-
// Ensure the effect is marked as clean again so that any dirty child
603-
// effects can schedule themselves for execution
604-
if ((effect.f & CLEAN) === 0) {
605-
effect.f ^= CLEAN;
606-
} else {
607-
// If a dependency of this effect changed while it was paused,
608-
// schedule the effect to update. we don't use `check_dirtiness`
609-
// here because we don't want to eagerly recompute a derived like
610-
// `{#if foo}{foo.bar()}{/if}` if `foo` is now `undefined
602+
// If a dependency of this effect changed while it was paused,
603+
// schedule the effect to update. we don't use `check_dirtiness`
604+
// here because we don't want to eagerly recompute a derived like
605+
// `{#if foo}{foo.bar()}{/if}` if `foo` is now `undefined
606+
if ((effect.f & CLEAN) !== 0) {
611607
set_signal_status(effect, DIRTY);
612608
schedule_effect(effect);
613609
}

0 commit comments

Comments
 (0)