restore batch_values after commit

pull/16971/head
Rich Harris 1 month ago
parent c054cd4f3f
commit bba5314dab

@ -343,7 +343,8 @@ export class Batch {
if (batches.size > 1) {
this.#previous.clear();
let is_earlier = true;
var previous_batch_values = batch_values;
var is_earlier = true;
/** @type {EffectTarget} */
var dummy_target = {
@ -406,6 +407,7 @@ export class Batch {
}
current_batch = null;
batch_values = previous_batch_values;
}
batches.delete(this);

Loading…
Cancel
Save