Skip to content

Commit dae86e4

Browse files
timcostaMylesBorins
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 1b51287 commit dae86e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/timers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ function tryOnImmediate(immediate, oldTail) {
739739
var threw = true;
740740
emitBefore(immediate[async_id_symbol], immediate[trigger_id_symbol]);
741741
try {
742-
// make the actual call outside the try/catch to allow it to be optimized
742+
// make the actual call outside the try/finally to allow it to be optimized
743743
runCallback(immediate);
744744
threw = false;
745745
} finally {

0 commit comments

Comments
 (0)