Skip to content

Commit

Permalink
Fix: Too many Windows after macOS restart #7516
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerwang committed Jul 18, 2020
1 parent ca8b867 commit feeb434
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chrome/browser/sessions/session_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,8 @@ void SessionService::RemoveUnusedRestoreWindows(

bool SessionService::RestoreIfNecessary(const std::vector<GURL>& urls_to_open,
Browser* browser) {
if (ShouldNewWindowStartSession()) {
//nwjs#7516
if (false && ShouldNewWindowStartSession()) {
// We're going from no tabbed browsers to a tabbed browser (and not in
// process startup), restore the last session.
if (move_on_new_browser_) {
Expand Down

0 comments on commit feeb434

Please sign in to comment.