This commit is contained in:
Peter Steinberger 2025-06-20 12:40:44 +02:00
parent a314fe8bf0
commit 1ca7bbdfa5

View file

@ -346,8 +346,7 @@ class BufferWebSocketClient: NSObject {
}
deinit {
// Cancel the WebSocket task
webSocketTask?.cancel(with: .goingAway, reason: nil)
// Tasks will be cancelled automatically when the object is deallocated
// WebSocket task cleanup happens in disconnect()
}
}