mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Debugging
This commit is contained in:
@@ -1952,6 +1952,11 @@ public final class ChatMessageInteractiveMediaNode: ASDisplayNode, GalleryItemTr
|
||||
videoNode.isUserInteractionEnabled = false
|
||||
var firstTime = true
|
||||
videoNode.ownsContentNodeUpdated = { [weak self] owns in
|
||||
/*#if DEBUG
|
||||
// Debug memory leak
|
||||
let _ = videoNode.videoQualityState()
|
||||
#endif*/
|
||||
|
||||
if let strongSelf = self, let videoNode = strongSelf.videoNode {
|
||||
if firstTime {
|
||||
firstTime = false
|
||||
|
||||
Reference in New Issue
Block a user