make method private

pull/15844/head
Rich Harris 3 months ago
parent 636c809a20
commit 8ffa72699c

@ -140,14 +140,14 @@ export class Batch {
batch.#callbacks.add(fn); batch.#callbacks.add(fn);
} }
this.remove(); this.#remove();
break; break;
} }
} }
} }
if (merged) { if (merged) {
this.remove(); this.#remove();
} else { } else {
var render_effects = this.render_effects; var render_effects = this.render_effects;
var effects = this.effects; var effects = this.effects;
@ -203,7 +203,7 @@ export class Batch {
this.#current.set(source, source.v); this.#current.set(source, source.v);
} }
remove() { #remove() {
batches.delete(this); batches.delete(this);
} }
@ -221,7 +221,7 @@ export class Batch {
} }
if (this.#pending === 0) { if (this.#pending === 0) {
this.remove(); this.#remove();
} }
current_batch = null; current_batch = null;

Loading…
Cancel
Save