mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-24 12:52:57 +00:00
prettier
This commit is contained in:
1 parent
1c3c4807b9
commit
8befa8e824
1 file changed
+4
-1
@@ -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