summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2021-09-17 13:53:25 +0200
committerAndrej Mihajlov <and@mullvad.net>2021-09-21 10:43:58 +0200
commit466f2af2f6b817b70bde13de923f6abb131b5aa1 (patch)
tree3ba4debf50a47a5096f40307e8787bcba41a81ff
parent014a8bc6122242ac9b5e910f47f92dacdd788719 (diff)
downloadmullvadvpn-466f2af2f6b817b70bde13de923f6abb131b5aa1.tar.xz
mullvadvpn-466f2af2f6b817b70bde13de923f6abb131b5aa1.zip
SimulatorTunnelProvider: finish with .userInitiated reason
-rw-r--r--ios/MullvadVPN/SimulatorTunnelProvider.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MullvadVPN/SimulatorTunnelProvider.swift b/ios/MullvadVPN/SimulatorTunnelProvider.swift
index ab0f4b6342..5637651a40 100644
--- a/ios/MullvadVPN/SimulatorTunnelProvider.swift
+++ b/ios/MullvadVPN/SimulatorTunnelProvider.swift
@@ -225,7 +225,7 @@ class SimulatorVPNConnection: NSObject, VPNConnectionProtocol {
func stopVPNTunnel() {
status = .disconnecting
- SimulatorTunnelProvider.shared.delegate.stopTunnel(with: .none) {
+ SimulatorTunnelProvider.shared.delegate.stopTunnel(with: .userInitiated) {
self.status = .disconnected
}
}