Commit Graph

1 Commits

Author SHA1 Message Date
Santiago Gimeno
8c53d2fe9f 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: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2016-06-08 15:51:26 +02:00