Commit 8c53d2fe authored by Santiago Gimeno's avatar Santiago Gimeno
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 556dd3b7
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