child_process: do not disconnect on exit emit
When using isolate the .fork would break because it had no .disconnect method. This remove the exit handler there would call .disconnect since it was not required. It also change .disconnect to throw if the channel is closed, this was not possible before because .disconnect would be called twice.
parent
03c4aa6a
Please register or sign in to comment