Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fd9aeef authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Quit NetworkMonitors at end of life.

We were creating and orphaning a thread for each network.
Cleanup after ourselves.

bug:16119890
Change-Id: I8c8a9fe471e43f31f712844915992084074e8047
parent 3e2a9f79
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -249,8 +249,8 @@ public class NetworkMonitor extends StateMachine {
                    transitionTo(mEvaluatingState);
                    break;
                case CMD_NETWORK_DISCONNECTED:
                    if (DBG) log("Disconnected");
                    transitionTo(mOfflineState);
                    if (DBG) log("Disconnected - quitting");
                    quit();
                    break;
                case CMD_FORCE_REEVALUATION:
                    if (DBG) log("Forcing reevaluation");