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

@@ -292,6 +292,9 @@ class BoxService(
}
}
}
private fun postServiceClose(){
//TODO:
}
private suspend fun stopAndAlert(type: Alert, message: String? = null) {
Settings.startedByUser = false

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)")

Submodule libcore updated: b981ed590d...aba593322e