Merge "Memory leak due to no stop for IpNeighborMonitor."

This commit is contained in:
Lorenzo Colitti 2020-06-18 15:57:01 +00:00 • committed by Gerrit Code Review
commit 4cc7532355

View file

@ -1321,6 +1321,7 @@ public class IpServer extends StateMachine {
class UnavailableState extends State {
@Override
public void enter() {
mIpNeighborMonitor.stop();
mLastError = TetheringManager.TETHER_ERROR_NO_ERROR;
sendInterfaceState(STATE_UNAVAILABLE);
}