Skip to content

Commit dfa8d6b

Browse files
committed
yes it can, apparently
1 parent 7f0072b commit dfa8d6b

File tree

1 file changed

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

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,9 @@ export class Batch {
219219
flush() {
220220
flush_queued_root_effects();
221221

222-
// TODO can this happen?
223-
if (current_batch !== this) return;
222+
if (current_batch !== this) {
223+
return;
224+
}
224225

225226
if (this.settled()) {
226227
this.remove();

0 commit comments

Comments
 (0)