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

Commit f3ee6f87 authored by Banavathu, Srinivas Naik's avatar Banavathu, Srinivas Naik Committed by Banavathu Srinivas Naik
Browse files

Telephony: Remove references to mExitECMRunnable object.

Free mExitECMRunnable object while destroying CDMA phone.

Change-Id: I411b3e5e41a9cc76c3571a98f13f91d84523f623
parent b998f311
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -224,6 +224,7 @@ public class CDMAPhone extends PhoneBase {
            mCM.unregisterForNVReady(this); //EVENT_NV_READY
            mSST.unregisterForNetworkAttach(this); //EVENT_REGISTERED_TO_NETWORK
            mCM.unSetOnSuppServiceNotification(this);
            removeCallbacks(mExitEcmRunnable);

            mPendingMmis.clear();

@@ -256,6 +257,7 @@ public class CDMAPhone extends PhoneBase {
            this.mSST = null;
            this.mEriManager = null;
            this.mCcatService = null;
            this.mExitEcmRunnable = null;
    }

    protected void finalize() {