Skip to content

fix: exit gracefully when the display server connection is lost - #52684

Merged
jkleinsc merged 6 commits into
44-x-yfrom
trop/44-x-y-bp-fix-exit-gracefully-when-the-display-server-connection-is-lost-1786072628072
Aug 7, 2026
Merged

jkleinsc merged 6 commits into
44-x-yfrom
trop/44-x-y-bp-fix-exit-gracefully-when-the-display-server-connection-is-lost-1786072628072

Conversation

@trop

@trop trop Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Backport of #52603

See that PR for details.

Notes: Fixed a crash report when the X server or Wayland compositor exits while an app is running.

trop Bot and others added 6 commits August 7, 2026 03:17
The Ozone shutdown callback that runs when the X11/Wayland connection
breaks went straight to LOG(FATAL), so every X server exit or
compositor restart produced a crash report. Add
Browser::ExitWithCode() (the app.exit() path, callable from native
code), have the callback force-exit like app.exit(0), and keep the
FATAL as a 10-second delayed watchdog in case exiting hangs.

Co-authored-by: Shelley Vohr <[email protected]>
Co-authored-by: Shelley Vohr <[email protected]>
Co-authored-by: Shelley Vohr <[email protected]>
@trop
trop Bot requested a review from codebytere August 7, 2026 03:17
@trop trop Bot added 44-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Aug 7, 2026
@jkleinsc
jkleinsc merged commit 77589d4 into 44-x-y Aug 7, 2026
78 checks passed
@jkleinsc
jkleinsc deleted the trop/44-x-y-bp-fix-exit-gracefully-when-the-display-server-connection-is-lost-1786072628072 branch August 7, 2026 15:06
@release-clerk

release-clerk Bot commented Aug 7, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed a crash report when the X server or Wayland compositor exits while an app is running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

44-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants