mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 02:43:48 +02:00
Fix Source assertion failure
This commit is contained in:
+4
-1
@@ -1927,7 +1927,10 @@ class ReadOrchestrator {
|
||||
}
|
||||
})
|
||||
.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) {
|
||||
let oldestIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user