mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
timers: remove unused parameter from insertGuarded
PR-URL: https://github.com/nodejs/node/pull/57251 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
10ea7646d9
commit
a0139e06a0
1 file changed
+2
-2
@@ -362,12 +362,12 @@ function unrefActive(item) {
|
||||
//
|
||||
// Appends a timer onto the end of an existing timers list, or creates a new
|
||||
// list if one does not already exist for the specified timeout duration.
|
||||
function insertGuarded(item, refed, start) {
|
||||
function insertGuarded(item, refed) {
|
||||
const msecs = item._idleTimeout;
|
||||
if (msecs < 0 || msecs === undefined)
|
||||
return;
|
||||
|
||||
insert(item, msecs, start);
|
||||
insert(item, msecs);
|
||||
|
||||
const isDestroyed = item._destroyed;
|
||||
if (isDestroyed || !item[async_id_symbol]) {
|
||||
|
||||
Reference in new issue
Block a user