Fix memory leak

This commit is contained in:
Ali
2020-05-26 22:17:36 +04:00
parent a79141faec
commit 325e028524
3 changed files with 6 additions and 3 deletions

View File

@@ -364,6 +364,8 @@ public enum ChatPresentationInputQueryResult: Equatable {
}
}
public let ChatControllerCount = Atomic<Int32>(value: 0)
public protocol ChatController: ViewController {
var chatLocation: ChatLocation { get }
var canReadHistory: ValuePromise<Bool> { get }