From d82fdbfc2659ef71a611196990127ee3e7c5eac8 Mon Sep 17 00:00:00 2001 From: Tim Costa Date: Sun, 16 Jul 2017 17:32:39 -0400 Subject: [PATCH 1/2] timers: remove no longer relevant comment --- lib/timers.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/timers.js b/lib/timers.js index 38d83f8c17bd8f..7569b633af3703 100644 --- a/lib/timers.js +++ b/lib/timers.js @@ -739,7 +739,6 @@ function tryOnImmediate(immediate, oldTail) { var threw = true; emitBefore(immediate[async_id_symbol], immediate[trigger_id_symbol]); try { - // make the actual call outside the try/catch to allow it to be optimized runCallback(immediate); threw = false; } finally { From d8e457b93a0e82975136ac9bf697083a2e443518 Mon Sep 17 00:00:00 2001 From: Tim Costa Date: Sun, 16 Jul 2017 21:00:08 -0400 Subject: [PATCH 2/2] timers: re-add comment, with corrected language --- lib/timers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/timers.js b/lib/timers.js index 7569b633af3703..917db9bdc5acea 100644 --- a/lib/timers.js +++ b/lib/timers.js @@ -739,6 +739,7 @@ function tryOnImmediate(immediate, oldTail) { var threw = true; emitBefore(immediate[async_id_symbol], immediate[trigger_id_symbol]); try { + // make the actual call outside the try/finally to allow it to be optimized runCallback(immediate); threw = false; } finally {