mirror of
https://github.com/electron/electron.git
synced 2026-01-25 23:38:18 -05:00
No more need to override setImmediate
It is now done in Node.js.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user