don't flush when already flushing

object-blockers
David Roizenman 3 weeks ago
parent 80b05fa0b7
commit 2b166b5e8d
No known key found for this signature in database
GPG Key ID: CD7B405D13E241B6

@ -440,7 +440,7 @@ export class Batch {
if (!this.is_deferred()) {
this.revive();
} else if (queued_root_effects.length > 0) {
} else if (!is_flushing && queued_root_effects.length > 0) {
// needed primarily for $effect.pending()
this.flush();
}

Loading…
Cancel
Save