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