mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-02-01 05:22:10 +00:00
Remove item from provider managers on delete.
This commit is contained in:
parent
676bf6c312
commit
989117a14c
@ -427,6 +427,7 @@ extension AppCoordinator: TunnelsTableViewControllerDelegate {
|
|||||||
os_log("error removing preferences: %{public}@", log: Log.general, type: .error, error.localizedDescription)
|
os_log("error removing preferences: %{public}@", log: Log.general, type: .error, error.localizedDescription)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
self.providerManagers?.removeAll { $0 == manager }
|
||||||
os_log("removed preferences", log: Log.general, type: .info)
|
os_log("removed preferences", log: Log.general, type: .info)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user