Apply suggestion from @dummdidumm

remove-invariant
Simon H 4 months ago committed by GitHub
parent 7109d19734
commit 6036c41ceb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -714,7 +714,7 @@ export class Batch {
if (!is_flushing_sync) {
queue_micro_task(() => {
if (!batches.has(batch) || batch.#pending.size > 0) {
if (current_batch !== batch) {
// a flushSync happened in the meantime
return;
}

Loading…
Cancel
Save