Posts

Post not yet marked as solved
2 Replies
I filed a feedback request, alongside this post FB11993689
Post not yet marked as solved
6 Replies
I observe this on iPad OS 16 (last beta before RC) and iOS 16 (RC).
Post not yet marked as solved
6 Replies
@eskimo, Here is a pseudo code scenario, with logging when the extension gets called stopTunnel with a reason being .providerDisabled. I have a OSLog instance to check how far it will execute the method. It will only print "stopTunnel because" and the "starting clean-up") and then gets exited due to uninstall I guess. override func stopTunnel(with reason: NEProviderStopReason) async { logger.log("Stop tunnel because: \(reason, privacy: .public)") if case .providerDisabled = reason { logger.log("Starting clean-up") let result = await doPseudoCodeCleanup() switch result { case .success: logger.log("clean up done") case .failure(let error): logger.log("Clean up failed due to error: \(error.localizedDescription, privacy: .public)") } logger.log("providerDisabled cleanup, done.") } logger.log("Stop tunnel end") }