Skip to content

Commit 0b2ef3c

Browse files
committed
fix
1 parent ef8b852 commit 0b2ef3c

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ export class Batch {
394394
this.#effects = [];
395395

396396
this.flush();
397+
} else {
398+
this.deactivate();
397399
}
398400
}
399401

0 commit comments

Comments
 (0)