mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-29 13:16:01 +01:00
Detect and recycle WebSockets stuck in connecting state.
This commit is contained in:
@@ -47,7 +47,7 @@ sealed class SignalWebSocket(
|
||||
}
|
||||
|
||||
private var connection: WebSocketConnection? = null
|
||||
private val connectionName
|
||||
val connectionName
|
||||
get() = connection?.name ?: "[null]"
|
||||
|
||||
private val _state: BehaviorSubject<WebSocketConnectionState> = BehaviorSubject.createDefault(WebSocketConnectionState.DISCONNECTED)
|
||||
|
||||
Reference in New Issue
Block a user