fix: implementation

This commit is contained in:
Hiddify
2024-03-17 23:33:39 +01:00
parent ed38b15a75
commit 70d73a2d63
4 changed files with 7 additions and 5 deletions

View File

@@ -292,7 +292,7 @@ class BoxService(
} }
} }
} }
private fun postServiceClose(){ override fun postServiceClose(){
//TODO: //TODO:
} }

View File

@@ -1 +1 @@
core.version=0.17.8 core.version=0.18.0

View File

@@ -222,6 +222,10 @@ public class ExtensionPlatformInterface: NSObject, LibboxPlatformInterfaceProtoc
} }
} }
public func postServiceClose() async {
// TODO
}
func reset() { func reset() {
networkSettings = nil networkSettings = nil
} }

View File

@@ -137,9 +137,7 @@ open class ExtensionProvider: NEPacketTunnelProvider {
stopService() stopService()
await startService() await startService()
} }
func postServiceClose() async {
// TODO
}
override open func stopTunnel(with reason: NEProviderStopReason) async { override open func stopTunnel(with reason: NEProviderStopReason) async {
writeMessage("(packet-tunnel) stopping, reason: \(reason)") writeMessage("(packet-tunnel) stopping, reason: \(reason)")