From dfdb6190b6c396b101cf450136779909da3cc168 Mon Sep 17 00:00:00 2001 From: Tim Costa Date: Sun, 16 Jul 2017 17:32:39 -0400 Subject: [PATCH] timers: fix outdated comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/14314 Reviewed-By: Anna Henningsen Reviewed-By: Gibson Fahnestock Reviewed-By: Benjamin Gruenbaum Reviewed-By: James M Snell Reviewed-By: Tobias Nießen Reviewed-By: Jeremiah Senkpiel --- lib/timers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/timers.js b/lib/timers.js index 38d83f8c17bd8f..917db9bdc5acea 100644 --- a/lib/timers.js +++ b/lib/timers.js @@ -739,7 +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/catch to allow it to be optimized + // make the actual call outside the try/finally to allow it to be optimized runCallback(immediate); threw = false; } finally {