Revert "Fix disconnectSync getting ignored"

This reverts commit f48b40e134.
This commit is contained in:
Guillermo Rauch
2012-08-01 11:58:28 -07:00
parent ca4e3f32a3
commit 1fa74a46a3

View File

@@ -51,7 +51,8 @@ HTTPPolling.prototype.name = 'httppolling';
HTTPPolling.prototype.setHandlers = function () {
HTTPTransport.prototype.setHandlers.call(this);
this.socket.removeListener('end', this.bound.end);
this.socket.removeListener('end', this.bound.end);
this.socket.removeListener('close', this.bound.close);
};
/**