Merge "Memory leak due to no stop for IpNeighborMonitor."
This commit is contained in:
commit
4cc7532355
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue