Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a093773c authored by Lucas Lin's avatar Lucas Lin Committed by Automerger Merge Worker
Browse files

Merge "Clear mInterface before calling resetIkeState()" am: 1d5282f4

parents 40bb8932 1d5282f4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2692,6 +2692,9 @@ public class Vpn {
                        return; // VPN has been shut down.
                    }

                    // Clear mInterface to prevent Ikev2VpnRunner being cleared when
                    // interfaceRemoved() is called.
                    mInterface = null;
                    // Without MOBIKE, we have no way to seamlessly migrate. Close on old
                    // (non-default) network, and start the new one.
                    resetIkeState();