Permalink
Browse files

Merge pull request #964 from crickeys/xhr_polling_disconnectSync

Fix disconnectSync getting ignored
  • Loading branch information...
2 parents 1679fd5 + f48b40e commit ac39dbc7215b125aa253fb2fa7016f3ddcbd7afd @rauchg rauchg committed Jul 27, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/transports/http-polling.js
@@ -51,8 +51,7 @@ HTTPPolling.prototype.name = 'httppolling';
HTTPPolling.prototype.setHandlers = function () {
HTTPTransport.prototype.setHandlers.call(this);
- this.socket.removeListener('end', this.bound.end);
- this.socket.removeListener('close', this.bound.close);
+ this.socket.removeListener('end', this.bound.end);
};
/**

0 comments on commit ac39dbc

Please sign in to comment.