From c7a2b68de6f7c036cf063f2c6e22bad82f0de356 Mon Sep 17 00:00:00 2001 From: "dietrich%mozilla.com" Date: Mon, 19 Jun 2006 23:01:14 +0000 Subject: [PATCH] Bug 342039: Trunk regression: Restart Tabbed extension launches doubles now, r=me --- browser/components/sessionstore/src/nsSessionStartup.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/browser/components/sessionstore/src/nsSessionStartup.js b/browser/components/sessionstore/src/nsSessionStartup.js index 75adc83322a..e11b80b81f2 100644 --- a/browser/components/sessionstore/src/nsSessionStartup.js +++ b/browser/components/sessionstore/src/nsSessionStartup.js @@ -161,6 +161,9 @@ SessionStartup.prototype = { delete this._iniString; // delete state string delete this._initialState; // delete state } + if (this._getPref("sessionstore.resume_session_once", DEFAULT_RESUME_SESSION_ONCE)) { + this._prefBranch.setBoolPref("sessionstore.resume_session_once", false); + } }, /**