No more need to override setImmediate

It is now done in Node.js.
This commit is contained in:
Cheng Zhao 2015-09-14 15:47:39 +08:00
parent 7c3d3e4a87
commit 3bd16a5ecd

View file

@ -37,8 +37,6 @@ wrapWithActivateUvLoop = (func) ->
process.activateUvLoop()
func.apply this, arguments
process.nextTick = wrapWithActivateUvLoop process.nextTick
global.setImmediate = wrapWithActivateUvLoop timers.setImmediate
global.clearImmediate = timers.clearImmediate
# setTimeout needs to update the polling timeout of the event loop, when called
# under Chromium's event loop the node's event loop won't get a chance to update