cefclient: Add RootWindowManager tracking of other browsers (see #3790)

The message loop should not quit until all browsers have closed,
including browsers that are not directly associated with a RootWindow.
This commit is contained in:
Marshall Greenblatt
2024-11-04 17:12:29 -05:00
parent be11f21131
commit 213c0280e9
5 changed files with 65 additions and 5 deletions

View File

@@ -464,6 +464,10 @@ ClientHandler::ClientHandler(Delegate* delegate,
startup_url_(startup_url),
delegate_(delegate),
console_log_file_(MainContext::Get()->GetConsoleLogPath()) {
// This handler is used with RootWindows that are explicitly tracked by
// RootWindowManager.
set_track_as_other_browser(false);
DCHECK(!console_log_file_.empty());
// Read command line settings.