This commit is contained in:
fkwp
2026-03-26 18:44:26 +01:00
parent 1c3c4807b9
commit 8befa8e824

View File

@@ -128,7 +128,10 @@ export class NoiseSuppressionTransformer {
try {
// Note: DeepFilterNoiseFilterProcessor may have a destroy method
// Call it if available
if (typeof (this.processor as { destroy?: () => void }).destroy === "function") {
if (
typeof (this.processor as { destroy?: () => void }).destroy ===
"function"
) {
(this.processor as { destroy: () => void }).destroy();
}
} catch (error) {