clavin

#50608: fix: remove menu update debug log

Merged
Created: Mar 31, 2026, 4:22:14 PM
Merged: Apr 1, 2026, 3:06:26 AM
3 comments
Target: main

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

Release Notes

Notes: Removed "representedObject is not a WeakPtrToElectronMenuModelAsNSObject" logging when interacting with macOS menus.

Backports

41-x-y
In-flight
PR Number
#50613
Waiting to be merged
42-x-y
Merged
PR Number
#50614
Merged At
Apr 1, 2026, 7:25:05 AM
Released In
Not yet
Release Date
Not yet

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