bug 700847 - crash stack found in logcat while running pageloader tests on native fennec r=blassey
authorDoug Turner <dougt@dougt.org>
Thu, 10 Nov 2011 21:05:02 -0500
changeset 83435 c5a4c774f474774935d59eaa955ce44a391bf600
parent 83434 c09d477dcecd94da6a0feb44b7900c38b6c344b6
child 83436 13f5d3d70ecbbf00224341af29517eed89dd3f3d
push id519
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 00:38:35 +0000
treeherdermozilla-beta@788ea1ef610b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey
bugs700847
milestone10.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 700847 - crash stack found in logcat while running pageloader tests on native fennec r=blassey
embedding/android/GeckoAppShell.java
--- a/embedding/android/GeckoAppShell.java
+++ b/embedding/android/GeckoAppShell.java
@@ -621,24 +621,19 @@ public class GeckoAppShell
         GeckoApp.mAppContext.setLaunchState(GeckoApp.LaunchState.GeckoExiting);
         Log.i("GeckoAppJava", "XRE exited");
         if (gRestartScheduled) {
             GeckoApp.mAppContext.doRestart();
         } else {
             Log.i("GeckoAppJava", "we're done, good bye");
             GeckoApp.mAppContext.finish();
         }
-        getHandler().postDelayed(new Runnable() {
-            // This is just a watch dog to make sure we die
-            // we should never hit this
-            public void run() {
-                Log.w("GeckoAppShell", "Killing via System.exit()");
-                System.exit(0);
-            }
-        }, 5000);
+
+        Log.w("GeckoAppShell", "Killing via System.exit()");
+        System.exit(0);
     }
     static void scheduleRestart() {
         Log.i("GeckoAppJava", "scheduling restart");
         gRestartScheduled = true;
     }
 
     // "Installs" an application by creating a shortcut
     static void createShortcut(String aTitle, String aURI, String aIconData, String aType) {