Memory leak due to no stop for IpNeighborMonitor. am: 8bcf198c67 am: 7d36cdb6dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11910263 Change-Id: I8f83396e5ccdf2bfd0cbdb376aa6a61656bf3039
This commit is contained in:
@@ -1322,6 +1322,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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user