diff options
Diffstat (limited to 'lib/child_process.js')
-rw-r--r-- | lib/child_process.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/child_process.js b/lib/child_process.js index aadac2ed28..23963828c0 100644 --- a/lib/child_process.js +++ b/lib/child_process.js @@ -454,7 +454,8 @@ function setupChannel(target, channel) { var obj = handleConversion[message.type]; // convert TCP object to native handle object - handle = handleConversion[message.type].send.apply(target, arguments); + handle = + handleConversion[message.type].send.call(target, message, handle); // If handle was sent twice, or it is impossible to get native handle // out of it - just send a text without the handle. |