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) {