Commit 57a51a00 authored by Rich Trott's avatar Rich Trott
Browse files

child_process: guard against race condition

It is possible that the internal hnadleMessage() might try to send to
a channel that has been closed. The result can be an AssertionError.
Guard against this.

Fixes: https://github.com/nodejs/node/issues/4205
PR-URL: https://github.com/nodejs/node/pull/4418


Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
Reviewed-By: default avatarJohan Bergström <bugs@bergstroem.nu>
parent 082cc8d6
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