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