Memory management issues

This commit is contained in:
Ali
2023-09-21 00:12:53 +02:00
parent 5799d7a2d9
commit 62765b241d
123 changed files with 1291 additions and 1332 deletions

View File

@@ -88,7 +88,7 @@ final class CommandMenuChatInputContextPanelNode: ChatInputContextPanelNode {
self.addSubnode(self.listView)
self.disposable.set((context.engine.peers.peerCommands(id: peerId)
|> deliverOnMainQueue).start(next: { [weak self] results in
|> deliverOnMainQueue).startStrict(next: { [weak self] results in
if let strongSelf = self {
strongSelf.updateResults(results.commands)
}