mirror of
https://github.com/fosrl/olm.git
synced 2026-02-07 21:46:40 +00:00
Clear status
This commit is contained in:
@@ -750,6 +750,8 @@ func StartTunnel(config TunnelConfig) {
|
||||
apiServer.SetTerminated(true)
|
||||
apiServer.SetConnectionStatus(false)
|
||||
apiServer.SetRegistered(false)
|
||||
apiServer.ClearPeerStatuses()
|
||||
network.ClearNetworkSettings()
|
||||
Close()
|
||||
|
||||
if globalConfig.OnTerminated != nil {
|
||||
|
||||
Reference in New Issue
Block a user