Commit 09349a8b authored by Santiago Gimeno's avatar Santiago Gimeno Committed by Myles Borins
Browse files

cluster: don't send messages if no IPC channel

Avoid sending messages if the IPC channel is already disconnected. It
avoids undesired errors when calling `process.disconnect` when there are
still pending IPC messages.

PR-URL: https://github.com/nodejs/node/pull/7132


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 6a08535d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment