Skip to content
Snippets Groups Projects
Commit 4cc75323 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Gerrit Code Review
Browse files

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

parents 51a573cd d244bd09
No related branches found
No related tags found
No related merge requests found
...@@ -1321,6 +1321,7 @@ public class IpServer extends StateMachine { ...@@ -1321,6 +1321,7 @@ public class IpServer extends StateMachine {
class UnavailableState extends State { class UnavailableState extends State {
@Override @Override
public void enter() { public void enter() {
mIpNeighborMonitor.stop();
mLastError = TetheringManager.TETHER_ERROR_NO_ERROR; mLastError = TetheringManager.TETHER_ERROR_NO_ERROR;
sendInterfaceState(STATE_UNAVAILABLE); sendInterfaceState(STATE_UNAVAILABLE);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment