Skip to content

Commit 8ffa726

Browse files
committed
make method private
1 parent 636c809 commit 8ffa726

File tree

1 file changed

+4
-4
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+4
-4
lines changed

packages/svelte/src/internal/client/reactivity/batch.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,14 @@ export class Batch {
140140
batch.#callbacks.add(fn);
141141
}
142142

143-
this.remove();
143+
this.#remove();
144144
break;
145145
}
146146
}
147147
}
148148

149149
if (merged) {
150-
this.remove();
150+
this.#remove();
151151
} else {
152152
var render_effects = this.render_effects;
153153
var effects = this.effects;
@@ -203,7 +203,7 @@ export class Batch {
203203
this.#current.set(source, source.v);
204204
}
205205

206-
remove() {
206+
#remove() {
207207
batches.delete(this);
208208
}
209209

@@ -221,7 +221,7 @@ export class Batch {
221221
}
222222

223223
if (this.#pending === 0) {
224-
this.remove();
224+
this.#remove();
225225
}
226226

227227
current_batch = null;

0 commit comments

Comments
 (0)