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

Commit 1d5282f4 authored by Lucas Lin's avatar Lucas Lin Committed by Gerrit Code Review
Browse files

Merge "Clear mInterface before calling resetIkeState()"

parents a2b92f89 520cc2fd
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();