macOS: do not call out to recent tunnels tracker

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2019-05-25 18:08:09 +02:00 committed by Roopesh Chander
parent 0340641c4c
commit 5100e597aa
1 changed files with 2 additions and 0 deletions

View File

@ -70,7 +70,9 @@ class TunnelsManager {
}
}
Keychain.deleteReferences(except: refs)
#if os(iOS)
RecentTunnelsTracker.cleanupTunnels(except: tunnelNames)
#endif
completionHandler(.success(TunnelsManager(tunnelProviders: tunnelManagers)))
}
#endif