From 652f3b348ca6a06bccf20db124829b5417065d2e Mon Sep 17 00:00:00 2001 From: Dave Townsend Date: Fri, 7 Nov 2008 10:55:25 +0000 Subject: [PATCH] Backed out changeset 4df50933e7cb from bug 462973 to investigate Ts regression. --- browser/components/sessionstore/src/nsSessionStore.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/browser/components/sessionstore/src/nsSessionStore.js b/browser/components/sessionstore/src/nsSessionStore.js index 7a05420597c..e0f86f2f0a8 100644 --- a/browser/components/sessionstore/src/nsSessionStore.js +++ b/browser/components/sessionstore/src/nsSessionStore.js @@ -485,19 +485,16 @@ SessionStoreService.prototype = { this._restoreCount = this._initialState.windows ? this._initialState.windows.length : 0; this.restoreWindow(aWindow, this._initialState, this._isCmdLineEmpty(aWindow)); delete this._initialState; - - // mark ourselves as running - this.saveState(true); } else { // Nothing to restore, notify observers things are complete. var observerService = Cc["@mozilla.org/observer-service;1"]. getService(Ci.nsIObserverService); observerService.notifyObservers(null, NOTIFY_WINDOWS_RESTORED, ""); - - // the next delayed save request should execute immediately - this._lastSaveTime -= this._interval; } + + // mark ourselves as running + this.saveState(true); } // this window was opened by _openWindowWithState else if (!this._isWindowLoaded(aWindow)) {