mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Don't clear session when "clear on shutdown" is set if we're actually just doing a restart. b=487219 r=zeniko
This commit is contained in:
parent
c6534bd851
commit
eeac6d3610
@ -326,8 +326,10 @@ SessionStoreService.prototype = {
|
||||
this._loadState = STATE_QUITTING;
|
||||
break;
|
||||
case "quit-application":
|
||||
if (aData == "restart")
|
||||
if (aData == "restart") {
|
||||
this._prefBranch.setBoolPref("sessionstore.resume_session_once", true);
|
||||
this._clearingOnShutdown = false;
|
||||
}
|
||||
this._loadState = STATE_QUITTING; // just to be sure
|
||||
this._uninit();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user