Skip to content

Commit b61c6ad

Browse files
committed
fix
1 parent 357ff47 commit b61c6ad

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,11 @@ export function async_derived(fn, location) {
182182

183183
if (e === STALE_REACTION) {
184184
if (should_suspend) {
185+
// TODO this feels asymmetrical though it seems to work?
185186
if (!ran) {
186187
boundary.decrement();
187188
} else {
188-
batch.decrement();
189+
batch.remove();
189190
}
190191
}
191192
} else {

0 commit comments

Comments
 (0)