Forces websocket closure onFailure
This commit is contained in:
@@ -172,7 +172,7 @@ class Relay(
|
|||||||
|
|
||||||
errorCounter++
|
errorCounter++
|
||||||
|
|
||||||
socket?.close(1000, "Normal close")
|
socket?.cancel() // 1000, "Normal close"
|
||||||
// Failures disconnect the relay.
|
// Failures disconnect the relay.
|
||||||
markConnectionAsClosed()
|
markConnectionAsClosed()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user