Skip to content

Commit 5769547

Browse files
committed
deactivate on unsuspend
1 parent d18c719 commit 5769547

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ export function suspend() {
678678
if (!pending) {
679679
batch.activate();
680680
batch.decrement();
681-
} else if (batch === current_batch) {
681+
} else {
682682
batch.deactivate();
683683
}
684684

0 commit comments

Comments
 (0)