mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix leaks
This commit is contained in:
parent
f630f7c75e
commit
dc6bb4254c
2 changed files with 4 additions and 0 deletions
|
|
@ -439,6 +439,7 @@ public final class ChatMessageInteractiveFileNode: ASDisplayNode {
|
|||
guard let strongSelf = self else {
|
||||
return
|
||||
}
|
||||
strongSelf.transcribeDisposable?.dispose()
|
||||
strongSelf.transcribeDisposable = nil
|
||||
})
|
||||
} else {
|
||||
|
|
@ -447,6 +448,7 @@ public final class ChatMessageInteractiveFileNode: ASDisplayNode {
|
|||
guard let strongSelf = self else {
|
||||
return
|
||||
}
|
||||
strongSelf.transcribeDisposable?.dispose()
|
||||
strongSelf.transcribeDisposable = nil
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -198,6 +198,7 @@ public class ChatMessageInteractiveInstantVideoNode: ASDisplayNode {
|
|||
self.playbackStatusDisposable.dispose()
|
||||
self.playerStatusDisposable.dispose()
|
||||
self.fetchedThumbnailDisposable.dispose()
|
||||
self.transcribeDisposable?.dispose()
|
||||
}
|
||||
|
||||
override public func didLoad() {
|
||||
|
|
@ -1670,6 +1671,7 @@ public class ChatMessageInteractiveInstantVideoNode: ASDisplayNode {
|
|||
guard let strongSelf = self else {
|
||||
return
|
||||
}
|
||||
strongSelf.transcribeDisposable?.dispose()
|
||||
strongSelf.transcribeDisposable = nil
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue