pull/16197/head
Rich Harris 5 months ago
parent 0bc6e6977e
commit 43eeca965b

@ -39,7 +39,7 @@ export class Batch {
async_effects = [];
/** @type {Effect[]} */
effects = [];
combined_effects = [];
/** @type {Set<Effect>} */
skipped_effects = new Set();
@ -54,12 +54,12 @@ export class Batch {
source.v = current;
}
for (const e of this.effects) {
for (const e of this.combined_effects) {
set_signal_status(e, DIRTY);
schedule_effect(e);
}
this.effects = [];
this.combined_effects = [];
for (const batch of batches) {
if (batch === this) continue;

@ -726,7 +726,7 @@ function flush_queued_root_effects() {
set_signal_status(e, CLEAN);
}
batch.effects.push(...render_effects, ...effects);
batch.combined_effects.push(...render_effects, ...effects);
}
revert();

Loading…
Cancel
Save