fix postServiceClose implementation
This commit is contained in:
@@ -292,6 +292,9 @@ class BoxService(
|
||||
}
|
||||
}
|
||||
}
|
||||
private fun postServiceClose(){
|
||||
//TODO:
|
||||
}
|
||||
|
||||
private suspend fun stopAndAlert(type: Alert, message: String? = null) {
|
||||
Settings.startedByUser = false
|
||||
|
||||
@@ -225,4 +225,5 @@ public class ExtensionPlatformInterface: NSObject, LibboxPlatformInterfaceProtoc
|
||||
func reset() {
|
||||
networkSettings = nil
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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)")
|
||||
|
||||
2
libcore
2
libcore
Submodule libcore updated: b981ed590d...aba593322e
Reference in New Issue
Block a user