Skip to content

Commit a2b6872

Browse files
timcostaBridgeAR
authored andcommitted
timers: fix outdated comment
PR-URL: #14314 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent c14ca49 commit a2b6872

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)