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

#52671: fix: use WeakPtr for MenuDelegate cancellation

Merged
Created: Aug 5, 2026, 4:42:29 PM
Merged: Aug 5, 2026, 7:29:03 PM
1 comments
Target: 42-x-y

Backport of #52598

See that PR for details.

Notes: Fixed a crash when quickly switching menus while the app is under heavy load.

Backport Information

Original PR Author
NaterGator
Original PR Status
Merged
Original PR Merged At
Aug 5, 2026, 4:42:15 PM
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