Skip to content

Commit

Permalink
[squash] nit
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Feb 20, 2018
1 parent 0a09c1a commit 845bf1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ function shutdownSocket(self, callback) {
// the user has called .end(), and all the bytes have been
// sent out to the other side.
Socket.prototype._final = function(cb) {
// If still connecting - defer handling 'finish' until 'connect' will happen
// If still connecting - defer handling `_final` until 'connect' will happen
if (this.connecting) {
debug('_final: not yet connected');
return this.once('connect', () => this._final(cb));
Expand Down

0 comments on commit 845bf1d

Please sign in to comment.