Merge "Fix RouterAdvertisementDaemon thread leakage problem"

This commit is contained in:
Lorenzo Colitti
2019-02-22 07:39:20 +00:00
committed by Gerrit Code Review

View File

@@ -275,6 +275,9 @@ public class RouterAdvertisementDaemon {
public void stop() {
closeSocket();
// Wake up mMulticastTransmitter thread to interrupt a potential 1 day sleep before
// the thread's termination.
maybeNotifyMulticastTransmitter();
mMulticastTransmitter = null;
mUnicastResponder = null;
}