Bug 335864: don't delete state information when _loadState == STATE_QUITTING (fixes sessionstore), patch by Simon Bünzli <zeniko@gmail.com>, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@198995 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
20715f6976
commit
49f2819d74
@ -477,12 +477,13 @@ SessionStoreService.prototype = {
|
||||
this._closedWindows.unshift(this._lastWindowClosed);
|
||||
this._closedWindows.splice(this._getPref("sessionstore.max_windows_undo", DEFAULT_MAX_WINDOWS_UNDO));
|
||||
|
||||
// clear this window from the list
|
||||
delete this._windows[aWindow.__SSi];
|
||||
|
||||
// save the state without this window to disk
|
||||
this.saveStateDelayed();
|
||||
}
|
||||
|
||||
// clear this window from the list
|
||||
delete this._windows[aWindow.__SSi];
|
||||
delete aWindow.__SSi;
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user