pull/16197/head
Rich Harris 5 months ago
parent 357ff4752f
commit b61c6ad52a

@ -182,10 +182,11 @@ export function async_derived(fn, location) {
if (e === STALE_REACTION) { if (e === STALE_REACTION) {
if (should_suspend) { if (should_suspend) {
// TODO this feels asymmetrical though it seems to work?
if (!ran) { if (!ran) {
boundary.decrement(); boundary.decrement();
} else { } else {
batch.decrement(); batch.remove();
} }
} }
} else { } else {

Loading…
Cancel
Save