Skip to content

Commit

Permalink
implement CHA-RL2h2
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrence-forooghian committed Sep 12, 2024
1 parent 84733dd commit 6da9d4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/AblyChat/RoomLifecycleManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ internal actor RoomLifecycleManager<Channel: RoomLifecycleContributorChannel> {
firstDetachError = error
}

changeStatus(to: .failed, error: error)
if current != .failed /* This check is CHA-RL2h2 (TODO: How to test?) */ {
changeStatus(to: .failed, error: error)
}
default:
fatalError("TODO")
}
Expand Down

0 comments on commit 6da9d4a

Please sign in to comment.