Skip to content

Commit

Permalink
This 'end' listener should have been removed with the previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
argon committed Nov 30, 2012
1 parent b1e3d6a commit 316522c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/connection.js
Expand Up @@ -195,7 +195,6 @@ Connection.prototype.connect = function () {
this.socket.on("data", this.handleTransmissionError.bind(this));
this.socket.on("drain", this.socketDrained.bind(this));
this.socket.on("clientError", this.errorOccurred.bind(this));
this.socket.on("end", this.destroyConnection.bind(this));
this.socket.once("close", this.restartConnection.bind(this));

this.socket.socket.connect(this.options['port'], this.options['gateway']);
Expand Down

0 comments on commit 316522c

Please sign in to comment.