object-blockers
Rich Harris 6 months ago
parent 99f623bea0
commit 94816666d9

@ -102,7 +102,6 @@ export class Boundary {
#local_pending_count = 0;
#pending_count = 0;
#pending_count_update_queued = false;
#is_creating_fallback = false;
@ -360,14 +359,8 @@ export class Boundary {
this.#local_pending_count += d;
if (this.#effect_pending && !this.#pending_count_update_queued) {
this.#pending_count_update_queued = true;
Batch.enqueue(() => {
this.#pending_count_update_queued = false;
if (this.#effect_pending) {
internal_set(this.#effect_pending, this.#local_pending_count);
}
});
if (this.#effect_pending) {
internal_set(this.#effect_pending, this.#local_pending_count);
}
}

Loading…
Cancel
Save