Skip to content

Commit d448d5d

Browse files
committed
remove connectionTask
1 parent e6ce609 commit d448d5d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sources/Realtime/RealtimeClientV2.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public final class RealtimeClientV2: Sendable, RealtimeClientProtocol {
4343
/// Long-running task for listening for incoming messages from WebSocket.
4444
var messageTask: Task<Void, Never>?
4545

46-
var connectionTask: Task<Void, Never>?
4746
var channels: [String: RealtimeChannelV2] = [:]
4847
var sendBuffer: [@Sendable (RealtimeClientV2) -> Void] = []
4948
}
@@ -438,7 +437,6 @@ public final class RealtimeClientV2: Sendable, RealtimeClientProtocol {
438437
$0.ref = 0
439438
$0.messageTask?.cancel()
440439
$0.heartbeatTask?.cancel()
441-
$0.connectionTask?.cancel()
442440
}
443441

444442
status = .disconnected

0 commit comments

Comments
 (0)