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-26 00:12:47 +05:30
committed by Roopesh Chander
parent 0340641c4c
commit 5100e597aa
@@ -70,7 +70,9 @@ class TunnelsManager {
} }
} }
Keychain.deleteReferences(except: refs) Keychain.deleteReferences(except: refs)
#if os(iOS)
RecentTunnelsTracker.cleanupTunnels(except: tunnelNames) RecentTunnelsTracker.cleanupTunnels(except: tunnelNames)
#endif
completionHandler(.success(TunnelsManager(tunnelProviders: tunnelManagers))) completionHandler(.success(TunnelsManager(tunnelProviders: tunnelManagers)))
} }
#endif #endif