diff --git a/src/node.js b/src/node.js index bedc6e025c..a00c5f32ea 100644 --- a/src/node.js +++ b/src/node.js @@ -255,7 +255,7 @@ // if we handled an error, then make sure any ticks get processed } else { - var t = setImmediate(process._tickCallback); + NativeModule.require('timers').setImmediate(process._tickCallback); } return caught;