mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-01 21:03:46 +02:00
Circumvent flush() being called on sources when cancelling output, surface error before doing cleanup
This commit is contained in:
+1
-1
@@ -410,7 +410,7 @@ export class Conversion {
|
||||
} catch (error) {
|
||||
if (!this._canceled) {
|
||||
// Make sure to cancel to stop other encoding processes and clean up resources
|
||||
await this.cancel();
|
||||
void this.cancel();
|
||||
}
|
||||
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user