this appears to be unnecessary

pull/16150/head
Rich Harris 3 months ago
parent 27fe22bf5c
commit 03485faa49

@ -599,15 +599,11 @@ function resume_children(effect, local) {
if ((effect.f & INERT) === 0) return;
effect.f ^= INERT;
// Ensure the effect is marked as clean again so that any dirty child
// effects can schedule themselves for execution
if ((effect.f & CLEAN) === 0) {
effect.f ^= CLEAN;
} else {
// If a dependency of this effect changed while it was paused,
// schedule the effect to update. we don't use `check_dirtiness`
// here because we don't want to eagerly recompute a derived like
// `{#if foo}{foo.bar()}{/if}` if `foo` is now `undefined
// If a dependency of this effect changed while it was paused,
// schedule the effect to update. we don't use `check_dirtiness`
// here because we don't want to eagerly recompute a derived like
// `{#if foo}{foo.bar()}{/if}` if `foo` is now `undefined
if ((effect.f & CLEAN) !== 0) {
set_signal_status(effect, DIRTY);
schedule_effect(effect);
}

Loading…
Cancel
Save