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

Commit c7f2030f authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Android Git Automerger
Browse files

am e022cb08: Merge "Don\'t attempt to stop the receive thread if we never started it." into mnc-dev

* commit 'e022cb08':
  Don't attempt to stop the receive thread if we never started it.
parents 332d6653 e022cb08
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -603,7 +603,10 @@ public class DhcpClient extends BaseDhcpStateMachine {
        @Override
        public void exit() {
            cancelOneshotTimeout();
            if (mReceiveThread != null) {
                mReceiveThread.halt();  // Also closes sockets.
                mReceiveThread = null;
            }
            clearDhcpState();
        }