FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Removed unnecessary code · bendilts/Socket.IO-node@e2a9758 · GitHub

Repository navigation

Commit e2a9758

Browse files
committed
Removed unnecessary code
1 parent 0b904d7 commit e2a9758

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎lib/socket.io/client.js‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,6 @@ Client.prototype._onClose = function(skipDisconnect){
147147
Client.prototype._onDisconnect = function(){
148148
if (this._open) this._onClose(true);
149149
if (this._disconnectTimeout) clearTimeout(this._disconnectTimeout);
150-
if (this.connection){
151-
this.connection.end();
152-
this.connection.destroy();
153-
this.connection = null;
154-
}
155150
this._writeQueue = [];
156151
this.connected = false;
157152
if (this.handshaked){

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL