mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Removed unneeded buffer declarations.
This commit is contained in:
@@ -28,7 +28,6 @@ function Transport (mng, data, req) {
|
||||
this.id = data.id;
|
||||
this.disconnected = false;
|
||||
this.drained = true;
|
||||
this.buffer = [];
|
||||
this.handleRequest(req);
|
||||
};
|
||||
|
||||
@@ -481,7 +480,6 @@ Transport.prototype.discard = function () {
|
||||
this.discarded = true;
|
||||
this.clearTimeouts();
|
||||
this.clearHandlers();
|
||||
this.buffer = [];
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user