We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2ed4a9 commit ca53d20Copy full SHA for ca53d20
Coder Desktop/Coder Desktop/State.swift
@@ -45,6 +45,10 @@ class SecureSession: ObservableObject, Session {
45
// isn't accessible, so we'll use providerConfiguration, which is over XPC.
46
proto.providerConfiguration = ["token": sessionToken!]
47
proto.serverAddress = baseAccessURL!.absoluteString
48
+ // We don't currently have a way to refresh the peer state from the server,
49
+ // and we might have missed updates while we slept,.
50
+ // To avoid showing some weird state on wake, we'll just disconnect on sleep.
51
+ proto.disconnectOnSleep = true
52
return proto
53
}
54
0 commit comments