mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Manually cancel timeline listeners when a RoomScreen is torn down instead of waiting for a delayed deinit
This commit is contained in:
committed by
Stefan Ceriu
parent
698b0aea44
commit
99d6caed4e
@@ -60,6 +60,7 @@ final class RoomScreenCoordinator: CoordinatorProtocol {
|
||||
}
|
||||
|
||||
func stop() {
|
||||
parameters.roomProxy.removeTimelineListener()
|
||||
viewModel.context.send(viewAction: .markRoomAsRead)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user