fix postServiceClose implementation

This commit is contained in:
Hiddify
2024-03-17 23:18:57 +01:00
parent 7257242b45
commit ed38b15a75
4 changed files with 8 additions and 1 deletions

View File

@@ -225,4 +225,5 @@ public class ExtensionPlatformInterface: NSObject, LibboxPlatformInterfaceProtoc
func reset() {
networkSettings = nil
}
}

View File

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