mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +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 {
|
deinit {
|
||||||
// Cancel the WebSocket task
|
|
||||||
webSocketTask?.cancel(with: .goingAway, reason: nil)
|
|
||||||
// Tasks will be cancelled automatically when the object is deallocated
|
// Tasks will be cancelled automatically when the object is deallocated
|
||||||
|
// WebSocket task cleanup happens in disconnect()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue