activate batch before decrementing

pull/16446/head
Rich Harris 2 months ago
parent f972a49003
commit 9a9cf921ce

@ -615,7 +615,11 @@ export function suspend() {
return function unsuspend() {
boundary.update_pending_count(-1);
if (!pending) batch.decrement();
if (!pending) {
batch.activate();
batch.decrement();
}
unset_context();
};

Loading…
Cancel
Save