Forces the closure. The method close wasn't closing all connections.
This commit is contained in:
@@ -263,7 +263,7 @@ class Relay(
|
|||||||
checkNotInMainThread()
|
checkNotInMainThread()
|
||||||
|
|
||||||
closingTimeInSeconds = TimeUtils.now()
|
closingTimeInSeconds = TimeUtils.now()
|
||||||
socket?.close(1000, "Normal close")
|
socket?.cancel()
|
||||||
socket = null
|
socket = null
|
||||||
isReady = false
|
isReady = false
|
||||||
usingCompression = false
|
usingCompression = false
|
||||||
|
|||||||
Reference in New Issue
Block a user