Files
Matt Gajownik 2735cc48ce frontend: Queue navigation in auth window to fix crash
When the browser panel inside a dialog navigates to a new URL, it calls
the navigation URL handler from its own event loop. The OAuth dialog has
installed such a handler to check each navigation event's URL for a
possible "code" argument.

If such a "code" argument is found, the dialog's "accept" method is
called, which in turn will call "closeBrowser" as the dialog attempts to
close itself.

This results in browser shutdown code running in the middle of CEF
draining its main event loop of pending tasks.

In the Chrome Runtime this now results in a crash within CEF's
"InterceptNavigationThrottle" destructor, which is executed as part of
the browser shutdown.

Decoupling the URL change handler of the dialog from the URL change
handler of the browser panel ensures that the browser shutdown is
initiated from the Qt main event loop and not the CEF main event loop
and resolves the issue.
2026-10-27 16:52:08 -04:00
..
2026-10-07 22:04:29 -04:00
2026-10-02 16:13:45 -04:00
2026-10-07 22:04:29 -04:00
2026-06-09 13:41:19 -04:00
2026-10-02 16:13:45 -04:00
2026-10-02 16:13:45 -04:00