Fix Source assertion failure

This commit is contained in:
Vanilagy
2026-04-28 14:09:18 +02:00
parent 6182af7c29
commit 1fd99b5015
+4 -1
View File
@@ -1927,7 +1927,10 @@ class ReadOrchestrator {
} }
}) })
.finally(() => { .finally(() => {
assert(!worker.running); if (worker.running) {
// Rare, but can happen with multiple concurrent reads. In this case, don't do anything.
return;
}
if (this.queuedReads.length > 0) { if (this.queuedReads.length > 0) {
let oldestIndex = 0; let oldestIndex = 0;