mirror of
https://github.com/element-hq/element-call.git
synced 2026-03-29 08:50:12 +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