Skip to content

Commit dc90fb6

Browse files
authored
fix(realtime): Adds missing .unsubscribed status change (#420)
Adds missing `.unsubscribed` status change
1 parent 2acc50c commit dc90fb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Realtime/V2/RealtimeChannelV2.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ public final class RealtimeChannelV2: Sendable {
357357

358358
await socket.removeChannel(self)
359359
logger?.debug("Unsubscribed from channel \(message.topic)")
360+
status = .unsubscribed
360361
}
361362

362363
case .error:

0 commit comments

Comments
 (0)