mirror of
https://github.com/vector-im/element-call.git
synced 2026-06-15 12:12:57 +00:00
prettier
This commit is contained in:
@@ -128,7 +128,10 @@ export class NoiseSuppressionTransformer {
|
|||||||
try {
|
try {
|
||||||
// Note: DeepFilterNoiseFilterProcessor may have a destroy method
|
// Note: DeepFilterNoiseFilterProcessor may have a destroy method
|
||||||
// Call it if available
|
// 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();
|
(this.processor as { destroy: () => void }).destroy();
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user