mediabunny 1.27.1 → 1.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles/mediabunny.cjs +4 -5
- package/dist/bundles/mediabunny.min.cjs +1 -1
- package/dist/bundles/mediabunny.min.mjs +1 -1
- package/dist/bundles/mediabunny.mjs +4 -5
- package/dist/modules/src/source.d.ts.map +1 -1
- package/dist/modules/src/source.js +5 -5
- package/dist/modules/src/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/source.ts +6 -7
|
@@ -15776,6 +15776,9 @@ var Mediabunny = (() => {
|
|
|
15776
15776
|
}
|
|
15777
15777
|
}
|
|
15778
15778
|
worker.running = false;
|
|
15779
|
+
if (worker.aborted) {
|
|
15780
|
+
await reader?.cancel();
|
|
15781
|
+
}
|
|
15779
15782
|
}
|
|
15780
15783
|
/** @internal */
|
|
15781
15784
|
_dispose() {
|
|
@@ -15946,7 +15949,7 @@ var Mediabunny = (() => {
|
|
|
15946
15949
|
}
|
|
15947
15950
|
}
|
|
15948
15951
|
if (worker.aborted) {
|
|
15949
|
-
|
|
15952
|
+
continue;
|
|
15950
15953
|
}
|
|
15951
15954
|
const { done, value } = readResult;
|
|
15952
15955
|
if (done) {
|
|
@@ -15960,11 +15963,7 @@ var Mediabunny = (() => {
|
|
|
15960
15963
|
this.onread?.(worker.currentPos, worker.currentPos + value.length);
|
|
15961
15964
|
this._orchestrator.supplyWorkerData(worker, value);
|
|
15962
15965
|
}
|
|
15963
|
-
if (worker.aborted) {
|
|
15964
|
-
break;
|
|
15965
|
-
}
|
|
15966
15966
|
}
|
|
15967
|
-
worker.running = false;
|
|
15968
15967
|
}
|
|
15969
15968
|
/** @internal */
|
|
15970
15969
|
_getTotalLengthFromRangeResponse(response) {
|