Bug 966253 - Fix SessionFile shutdown blocker. r=ttaubert
authorDavid Rajchenbach-Teller <dteller@mozilla.com>
Fri, 31 Jan 2014 13:02:34 -0500
changeset 182368 2b69d9881038ad25413a93663dcfb6741955405f
parent 182367 910e9f8002faf5a12661875ddfc22a5afc834de2
child 182369 babc9c4a2560e249a796afb390339769f4e7b1cd
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert
bugs966253
milestone29.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 966253 - Fix SessionFile shutdown blocker. r=ttaubert
browser/components/sessionstore/src/SessionFile.jsm
--- a/browser/components/sessionstore/src/SessionFile.jsm
+++ b/browser/components/sessionstore/src/SessionFile.jsm
@@ -228,10 +228,10 @@ let SessionWorker = (function () {
   };
 })();
 
 // Ensure that we can write sessionstore.js cleanly before the profile
 // becomes unaccessible.
 AsyncShutdown.profileBeforeChange.addBlocker(
   "SessionFile: Finish writing the latest sessionstore.js",
   function() {
-    return SessionFile._latestWrite;
+    return SessionFileInternal._latestWrite;
   });