mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-10 10:24:44 +00:00
prettier
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user