Update API usage

This commit is contained in:
世界
2023-08-31 23:43:59 +08:00
parent b5a89fddec
commit 174d05c8c5
6 changed files with 57 additions and 20 deletions
@@ -167,9 +167,4 @@ public class ExtensionPlatformInterface: NSObject, LibboxPlatformInterfaceProtoc
}
tunnel.reasserting = false
}
public func closeTun() throws {
tunnel.setTunnelNetworkSettings(nil) { _ in
}
}
}