#50608: fix: remove menu update debug log
Merged
Description of Change
Removes a diagnostic log:
representedObject is not a WeakPtrToElectronMenuModelAsNSObject
This log was introduced alongside a guard in macOS menu refresh. The guard is part of the system's expected behavior, preventing us from processing menu items we don't own. In other words, the guard itself is benign. Keep the guard, remove the log.
Fixes #50389
Checklist
- PR description included
- I have built and tested this PR
-
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: Removed "representedObject is not a WeakPtrToElectronMenuModelAsNSObject" logging when interacting with macOS menus.
Backports
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