From: Cheng Zhao Date: Mon, 14 Sep 2015 07:47:39 +0000 (+0800) Subject: No more need to override setImmediate X-Git-Tag: v0.32.3~12^2~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3bd16a5ecd0cac121db3465eb1d51dbfaea623d1;p=electron.git No more need to override setImmediate It is now done in Node.js. --- diff --git a/atom/common/lib/init.coffee b/atom/common/lib/init.coffee index 88b32d8c..48f06b93 100644 --- a/atom/common/lib/init.coffee +++ b/atom/common/lib/init.coffee @@ -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