Permalink
Browse files

This 'end' listener should have been removed with the previous commit.

  • Loading branch information...
argon committed Nov 30, 2012
1 parent b1e3d6a commit 316522c95f3e4a5461eeddecc0ea32a4077f6fca
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/connection.js
View
@@ -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']);

0 comments on commit 316522c

Please sign in to comment.