File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
packages/svelte/src/internal/client/reactivity Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments