#48600: fix: devtools crashing on Linux in detach mode
Merged
Description of Change
Closes #48430
Refs CL:6633935
Fixes an issue where calling webContents.openDevTools({ mode: 'detach' }) would cause a crash on Wayland.
Checklist
- PR description included and stakeholders cc'd
-
npm testpasses - PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.
Release Notes
Notes: Fixed an issue where calling webContents.openDevTools({ mode: 'detach' }) would cause a crash on Wayland.
Backports
38-x-y
PendingWaiting for a manual backport
39-x-y
MergedPR Number
#48623Merged At
Oct 21, 2025, 12:31:16 PM
Released In
v39.0.0-beta.4Release Date
Oct 22, 2025, 11:46:30 AM
Semver Impact
Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron