Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #964 from crickeys/xhr_polling_disconnectSync

Fix disconnectSync getting ignored
  • Loading branch information...
commit ac39dbc7215b125aa253fb2fa7016f3ddcbd7afd 2 parents 1679fd5 + f48b40e
@rauchg rauchg authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/transports/http-polling.js
View
3  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);
};
/**
Please sign in to comment.
Something went wrong with that request. Please try again.