From 5af756488a24a8e105f02b862e88d43965d2bfae Mon Sep 17 00:00:00 2001 From: Isaac <> Date: Tue, 8 Apr 2025 14:50:28 +0400 Subject: [PATCH] Fix build --- .../Sources/VideoChatEncryptionKeyComponent.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/submodules/TelegramCallsUI/Sources/VideoChatEncryptionKeyComponent.swift b/submodules/TelegramCallsUI/Sources/VideoChatEncryptionKeyComponent.swift index 97ccf22070..58d84e2d1b 100644 --- a/submodules/TelegramCallsUI/Sources/VideoChatEncryptionKeyComponent.swift +++ b/submodules/TelegramCallsUI/Sources/VideoChatEncryptionKeyComponent.swift @@ -522,7 +522,9 @@ final class VideoChatEncryptionKeyComponent: Component { } deinit { + #if DEBUG self.mockStateTimer?.invalidate() + #endif } @objc private func tapGesture(_ recognizer: TapLongTapOrDoubleTapGestureRecognizer) {