mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Memory management issues
This commit is contained in:
@@ -102,7 +102,7 @@ final class GalleryHiddenMediaManagerImpl: GalleryHiddenMediaManager {
|
||||
let context = SourceContext(disposable: disposable)
|
||||
self.sourceContexts[index] = context
|
||||
|
||||
disposable.set((signal |> deliverOnMainQueue).start(next: { [weak self, weak context] id in
|
||||
disposable.set((signal |> deliverOnMainQueue).startStrict(next: { [weak self, weak context] id in
|
||||
guard let strongSelf = self, let context = context else {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user