Bug 733142 - Attempt to fix crash in GeckoNetworkManager when onDestroy() is called. r=dougt
authorMounir Lamouri <mounir.lamouri@gmail.com>
Wed, 28 Mar 2012 13:29:41 -0700
changeset 93872 82c98e0e7d71cd9caa4dd13264d424a4e5f46ed4
parent 93871 dea46b8a52adee2f7c3c0e5d3568aae6b791e243
child 93873 a2b4067cb7f8acbbfd9840a28ce27eea5e7f7a14
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdougt
bugs733142
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 733142 - Attempt to fix crash in GeckoNetworkManager when onDestroy() is called. r=dougt
mobile/android/base/GeckoApp.java
--- a/mobile/android/base/GeckoApp.java
+++ b/mobile/android/base/GeckoApp.java
@@ -2176,19 +2176,16 @@ abstract public class GeckoApp
         mFavicons.close();
 
         if (SmsManager.getInstance() != null) {
             SmsManager.getInstance().stop();
             if (isFinishing())
                 SmsManager.getInstance().shutdown();
         }
 
-        GeckoNetworkManager.getInstance().stop();
-        GeckoScreenOrientationListener.getInstance().stop();
-
         super.onDestroy();
 
         unregisterReceiver(mBatteryReceiver);
 
         if (mAboutHomeContent != null) {
             mAboutHomeContent.onDestroy();
         }
     }