Skip to content

Commit f302744

Browse files
committed
Removed unneeded buffer declarations.
1 parent a3ba4e2 commit f302744

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/transport.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ function Transport (mng, data, req) {
2828
this.id = data.id;
2929
this.disconnected = false;
3030
this.drained = true;
31-
this.buffer = [];
3231
this.handleRequest(req);
3332
};
3433

@@ -481,7 +480,6 @@ Transport.prototype.discard = function () {
481480
this.discarded = true;
482481
this.clearTimeouts();
483482
this.clearHandlers();
484-
this.buffer = [];
485483

486484
return this;
487485
};

0 commit comments

Comments
 (0)