pull/16668/head
Rich Harris 2 weeks ago
parent e0c90fbc7d
commit a9912aa2c1

@ -76,8 +76,8 @@ let queued_root_effects = [];
let last_scheduled_effect = null;
let is_flushing = false;
let is_flushing_sync = false;
export class Batch {
/**
* The current values of any sources that are updated in this batch
@ -678,9 +678,7 @@ export function suspend() {
if (!pending) {
batch.activate();
batch.decrement();
}
if (batch === current_batch) {
} else if (batch === current_batch) {
batch.deactivate();
}

Loading…
Cancel
Save