After a disconnect a Connection Info update (updateConnectionInfo in VPNConnectionViewController) would start a new NETunnelProviderSession getting stuck in limbo, which causes an "Extension died unexpectedly" error after a timeout of 20 seconds and preventing a new connect. This fix just empties the Connection Info when disconnecting and returns without calling a new NETunnelProviderSession.
Removing "self.currentManager = NETunnelProviderManager()" prevents a NEVPNStatus of "invalid" and is not necessary anymore with this fix.
After a disconnect a Connection Info update (updateConnectionInfo in VPNConnectionViewController) would start a new NETunnelProviderSession getting stuck in limbo, which causes an "Extension died unexpectedly" error after a timeout of 20 seconds and preventing a new connect. This fix just empties the Connection Info when disconnecting and returns without calling a new NETunnelProviderSession.
Removing "self.currentManager = NETunnelProviderManager()" prevents a NEVPNStatus of "invalid" and is not necessary anymore with this fix.