This is a backport PR for branch 44-x-y
jkleinsc

#55733: fix: remove notification observer from the center it was registered on

Open
Created: Nov 10, 2026, 7:16:40 PM
1 comments
Target: 44-x-y

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

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
jkleinsc
Original PR Status
Merged
Original PR Merged At
Nov 10, 2026, 7:15:03 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