Merge "Memory leak due to no stop for IpNeighborMonitor." am: 10b6226702
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1343440 Change-Id: I8723fa07bdbf067940d1fa0b27b13cd5e39289f6
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user