Don't check network settings for nil

This commit is contained in:
Sergey Abramchuk
2018-10-16 19:09:46 +03:00
parent fc4446fa7d
commit 4464188292
-1
View File
@@ -260,7 +260,6 @@
- (BOOL)establishTunnel {
NEPacketTunnelNetworkSettings *networkSettings = [self.networkSettingsBuilder networkSettings];
if (!networkSettings) { return NO; }
dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);