#53293: fix: crash when calling utilityProcess.postMessage() after the process has exited
Merged
Created: Aug 28, 2026, 6:58:06 PM
Merged: Aug 28, 2026, 9:34:15 PM
4 comments
Target: main
Description of Change
utilityProcess.postMessage()no longer crashes the main process when called after the child has gone away (e.g. from the'exit'listener, or during app shutdown while a utility process is still running); it is now a no-op in that state.- Adds a crash-case fixture covering both paths.
Checklist
- PR description included
-
npm testpasses - tests are changed or added
Release Notes
Notes: Fixed a crash when calling utilityProcess.postMessage() after the utility process had exited.
Backports
43-x-y
MergedPR Number
#53301Merged At
Aug 28, 2026, 10:43:59 PM
Released In
v43.5.0Release Date
Aug 30, 2026, 8:00:58 PM
44-x-y
MergedPR Number
#53300Merged At
Aug 28, 2026, 10:52:01 PM
Released In
v44.1.0Release Date
Aug 30, 2026, 7:55:36 PM
45-x-y
MergedPR Number
#53299Merged At
Aug 28, 2026, 10:56:10 PM
Released In
v45.0.0-alpha.2Release Date
Aug 30, 2026, 7:55:26 PM
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