mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Stop running room proxy cleanup in a separate task
This commit is contained in:
@@ -52,11 +52,9 @@ class RoomProxy: RoomProxyProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
deinit {
|
deinit {
|
||||||
Task { @MainActor [roomTimelineObservationToken, roomListItem] in
|
|
||||||
roomTimelineObservationToken?.cancel()
|
roomTimelineObservationToken?.cancel()
|
||||||
roomListItem.unsubscribe()
|
roomListItem.unsubscribe()
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
init(roomListItem: RoomListItemProtocol,
|
init(roomListItem: RoomListItemProtocol,
|
||||||
room: RoomProtocol,
|
room: RoomProtocol,
|
||||||
|
|||||||
Reference in New Issue
Block a user