Workaround the NavigationController not releasing popped screens and clean up the roomScreen + timelineController + timelineProvider + roomProxy on stop()

This commit is contained in:
Stefan Ceriu
2022-11-28 17:32:25 +02:00
committed by Stefan Ceriu
parent 8c86bf9acb
commit 623eecec77
3 changed files with 20 additions and 8 deletions
@@ -57,7 +57,7 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
slidingSyncViewProxy.diffPublisher
.collect(.byTime(serialDispatchQueue, 0.25))
.sink { self.updateRoomsWithDiffs($0) }
.sink { [weak self] in self?.updateRoomsWithDiffs($0) }
.store(in: &cancellables)
}