File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,6 @@ Manager.prototype.initStore = function () {
267
267
this . connected = { } ;
268
268
this . open = { } ;
269
269
this . closed = { } ;
270
- this . closedA = [ ] ;
271
270
this . rooms = { } ;
272
271
this . roomClients = { } ;
273
272
@@ -339,8 +338,6 @@ Manager.prototype.onOpen = function (id) {
339
338
if ( this . closed [ id ] ) {
340
339
var self = this ;
341
340
342
- this . closedA . splice ( this . closedA . indexOf ( id ) , 1 ) ;
343
-
344
341
this . store . unsubscribe ( 'dispatch:' + id , function ( ) {
345
342
delete self . closed [ id ] ;
346
343
} ) ;
@@ -429,7 +426,6 @@ Manager.prototype.onClose = function (id) {
429
426
}
430
427
431
428
this . closed [ id ] = [ ] ;
432
- this . closedA . push ( id ) ;
433
429
434
430
var self = this ;
435
431
@@ -504,7 +500,6 @@ Manager.prototype.onDisconnect = function (id, local) {
504
500
505
501
if ( this . closed [ id ] ) {
506
502
delete this . closed [ id ] ;
507
- this . closedA . splice ( this . closedA . indexOf ( id ) , 1 ) ;
508
503
}
509
504
510
505
if ( this . roomClients [ id ] ) {
You can’t perform that action at this time.
0 commit comments