Browse files

Telephony: Remove references to mExitECMRunnable object.

Free mExitECMRunnable object while destroying CDMA phone.

Change-Id: I411b3e5e41a9cc76c3571a98f13f91d84523f623
  • Loading branch information...
1 parent b998f31 commit f3ee6f87a344b185d8bde12c77440c9020378510 Banavathu, Srinivas Naik committed with Banavathu Srinivas Naik Aug 6, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
View
2 telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
@@ -224,6 +224,7 @@ public void dispose() {
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 void removeReferences() {
this.mSST = null;
this.mEriManager = null;
this.mCcatService = null;
+ this.mExitEcmRunnable = null;
}
protected void finalize() {

0 comments on commit f3ee6f8

Please sign in to comment.