mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-05 11:15:57 +00:00
cleanup
This commit is contained in:
parent
a314fe8bf0
commit
1ca7bbdfa5
1 changed files with 1 additions and 2 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue