mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 845681 - Save session states without any open windows on Mac OS X; r=felipe
This commit is contained in:
parent
6789ef2fde
commit
36f54048f1
@ -3660,6 +3660,7 @@ let SessionStoreInternal = {
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef XP_MACOSX
|
||||
// Don't save invalid states.
|
||||
// Looks like we currently have private windows, only.
|
||||
if (oState.windows.length == 0) {
|
||||
@ -3667,6 +3668,7 @@ let SessionStoreInternal = {
|
||||
TelemetryStopwatch.cancel("FX_SESSION_RESTORE_COLLECT_DATA_LONGEST_OP_MS");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
for (let i = oState._closedWindows.length - 1; i >= 0; i--) {
|
||||
if (oState._closedWindows[i].isPrivate) {
|
||||
|
Loading…
Reference in New Issue
Block a user