Fix uv loop hack on child_process.
This commit is contained in:
parent
4a1f8cf1c9
commit
1d7445c5aa
1 changed files with 0 additions and 7 deletions
|
@ -19,10 +19,3 @@ wrapWithActivateUvLoop = (func) ->
|
|||
process.nextTick = wrapWithActivateUvLoop process.nextTick
|
||||
global.setImmediate = wrapWithActivateUvLoop timers.setImmediate
|
||||
global.clearImmediate = timers.clearImmediate
|
||||
|
||||
# The child_process module also needs to activate the uv loop to make the ipc
|
||||
# channel setup.
|
||||
# TODO(zcbenz): Find out why this is needed.
|
||||
childProcess = require 'child_process'
|
||||
childProcess.spawn = wrapWithActivateUvLoop childProcess.spawn
|
||||
childProcess.fork = wrapWithActivateUvLoop childProcess.fork
|
||||
|
|
Loading…
Reference in a new issue