This is a backport PR for branch 44-x-y
#55733: fix: remove notification observer from the center it was registered on
Open
Requested by John Kleinschmidt · Slack thread
Description of Change
Backport of #55725.
See that PR for details.
44-x-y's Subscription struct had no kind field, so this backport adds one, set when subscribing, and uses it when unsubscribing.
Checklist
- I have filled out the PR description
- I have reviewed and verified the changes
Release Notes
🤖 Generated with Claude Code
https://claude.ai/code/session_01Vf2yMwv2LMkF9YULfTdXCy
Notes: Fixed a macOS notification observer leak when unsubscribing via another method.
Backport Information
Original PR Author
jkleinscOriginal PR Status
Merged
Original PR Merged At
Nov 10, 2026, 7:15:03 PM
Original PR Link
View on GitHubSemver 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