dsanders11

#53853: fix: several small memory leaks in Windows code

Merged
Created: Sep 12, 2026, 3:37:38 AM
Merged: Sep 12, 2026, 6:31:23 PM
5 comments
Target: main

Description of Change

Fixes several small memory leaks due to leaking COM references in Windows code.

Checklist

Release Notes

Notes: Fixed a memory leak on Windows when app.getPreferredSystemLanguages() was called.
Notes: Fixed a memory leak on Windows when selecting multiple files in an open dialog.
Notes: Fixed a memory leak on Windows when notification initialization was retried after a failure.

Backports

43-x-y
Merged
PR Number
#53867
Merged At
Sep 12, 2026, 7:41:12 PM
Released In
Not yet
Release Date
Not yet
44-x-y
Merged
PR Number
#53868
Merged At
Sep 12, 2026, 7:27:55 PM
Released In
Not yet
Release Date
Not yet
45-x-y
Merged
PR Number
#53869
Merged At
Sep 12, 2026, 7:41:00 PM
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