diff --git a/Passepartout/App/Mac/Models/DefaultLightVPNManager.swift b/Passepartout/App/Mac/Models/DefaultLightVPNManager.swift index 75d03db6..bb8e99d3 100644 --- a/Passepartout/App/Mac/Models/DefaultLightVPNManager.swift +++ b/Passepartout/App/Mac/Models/DefaultLightVPNManager.swift @@ -92,11 +92,7 @@ class DefaultLightVPNManager: LightVPNManager { @MainActor func reconnect() { Task { - if isEnabled { - await vpnManager.disable() - try? await Task.sleep(nanoseconds: 2 * NSEC_PER_SEC) - } - try? await vpnManager.connectWithActiveProfile(toServer: nil) + await vpnManager.reconnect() } } }