Skip to content

Commit 9a1b34c

Browse files
timcostaaddaleax
authored andcommitted
timers: fix outdated comment
PR-URL: nodejs#14314 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
1 parent 051f056 commit 9a1b34c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/timers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ function tryOnImmediate(immediate, oldTail) {
741741
var threw = true;
742742
emitBefore(immediate[async_id_symbol], immediate[trigger_id_symbol]);
743743
try {
744-
// make the actual call outside the try/catch to allow it to be optimized
744+
// make the actual call outside the try/finally to allow it to be optimized
745745
runCallback(immediate);
746746
threw = false;
747747
} finally {

0 commit comments

Comments
 (0)