This is a backport PR for branch 44-x-y
trop[bot]

#52904: fix: keep remote api::WebContents alive while their content::WebContents lives

Merged
Created: Aug 17, 2026, 6:43:54 AM
Merged: Aug 17, 2026, 8:04:06 AM
1 comments
Target: 44-x-y

Backport of #52847

See that PR for details.

Notes: Fixed a rare crash in the main process when DevTools were opened and a garbage collection ran before the DevTools frontend finished loading.

Backport Information

Original PR Author
MarshallOfSound
Original PR Status
Merged
Original PR Merged At
Aug 17, 2026, 6:43:20 AM
Original PR Link
GitHubView on GitHub

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