Skip to content

Commit d077f00

Browse files
committed
cluster: remove unnecessary bind
1 parent a560c73 commit d077f00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/cluster/child.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ function shared(message, handle, indexesKey, cb) {
118118
send({ act: 'close', key });
119119
handles.delete(key);
120120
indexes.delete(indexesKey);
121-
return close.apply(this, arguments);
122-
}.bind(handle);
121+
return close.apply(handle, arguments);
122+
};
123123
assert(handles.has(key) === false);
124124
handles.set(key, handle);
125125
cb(message.errno, handle);

0 commit comments

Comments
 (0)