No more need to override setImmediate
It is now done in Node.js.
This commit is contained in:
parent
7c3d3e4a87
commit
3bd16a5ecd
1 changed files with 0 additions and 2 deletions
|
@ -37,8 +37,6 @@ wrapWithActivateUvLoop = (func) ->
|
||||||
process.activateUvLoop()
|
process.activateUvLoop()
|
||||||
func.apply this, arguments
|
func.apply this, arguments
|
||||||
process.nextTick = wrapWithActivateUvLoop process.nextTick
|
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
|
# 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
|
# under Chromium's event loop the node's event loop won't get a chance to update
|
||||||
|
|
Loading…
Reference in a new issue