Clear lastError in VPNManager.reconnect()
This commit is contained in:
parent
9735b9ab14
commit
fe4ca51820
|
@ -104,6 +104,7 @@ public class VPNManager: ObservableObject {
|
|||
|
||||
func reconnect(_ configuration: VPNConfiguration) async {
|
||||
pp_log.info("Reconnecting VPN")
|
||||
clearLastError()
|
||||
await strategy.connect(configuration: configuration)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue