Bug 1239787 - TabQueueService: Do not clear tabQueueHandler reference. r=ahunt
authorSebastian Kaspari <s.kaspari@gmail.com>
Fri, 15 Jan 2016 20:25:29 +0100
changeset 315513 38ba884086c7411f7b20cc3023e038939e1ced3d
parent 315456 3e880d2651f98e22634003a9923a50b6668d896b
child 315514 80cf5f6c1863a73c59e6337eb19562aa4874e0f6
push id5703
push userraliiev@mozilla.com
push dateMon, 07 Mar 2016 14:18:41 +0000
treeherdermozilla-beta@31e373ad5b5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahunt
bugs1239787
milestone46.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 1239787 - TabQueueService: Do not clear tabQueueHandler reference. r=ahunt
mobile/android/base/java/org/mozilla/gecko/tabqueue/TabQueueService.java
--- a/mobile/android/base/java/org/mozilla/gecko/tabqueue/TabQueueService.java
+++ b/mobile/android/base/java/org/mozilla/gecko/tabqueue/TabQueueService.java
@@ -257,17 +257,16 @@ public class TabQueueService extends Ser
                 prefs.edit().putInt(TabQueueHelper.PREF_TAB_QUEUE_COUNT, tabsQueued).apply();
             }
         });
     }
 
     @Override
     public void onDestroy() {
         super.onDestroy();
-        tabQueueHandler = null;
         handlerThread.quit();
     }
 
     /**
      * A modified Runnable which additionally removes the view from the window view hierarchy and stops the service
      * when run, unless explicitly instructed not to.
      */
     private abstract class StopServiceRunnable implements Runnable {