#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
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