Skip to content

Commit

Permalink
Merge pull request #18 from nicokaiser/master
Browse files Browse the repository at this point in the history
polling: Remove the right listener in onDataRequest
  • Loading branch information
rauchg committed Apr 5, 2012
2 parents c5cea61 + b566acc commit e91cc5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transports/polling.js
Expand Up @@ -123,7 +123,7 @@ Polling.prototype.onDataRequest = function (req, res) {
chunks = '';
req.removeListener('data', onData);
req.removeListener('end', onEnd);
req.removeListener('close', cleanup);
req.removeListener('close', onClose);
self.dataReq = self.dataRes = null;
};

Expand Down

0 comments on commit e91cc5a

Please sign in to comment.