Skip to content

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.

This is a backport of 57a51a00 to v0.12 with a tweaked version of the test in order to trigger the same assertion on v0.12.

Merge request reports

Loading