Update disconnect event removal
This commit is contained in:
parent
5eb7eb1894
commit
df8c3c0d90
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ function disconnect(id){
|
||||||
|
|
||||||
this.of[id].explicitlyDisconnected=true;
|
this.of[id].explicitlyDisconnected=true;
|
||||||
|
|
||||||
this.of[id].off('*');
|
this.of[id].off('*','*');
|
||||||
if(this.of[id].socket){
|
if(this.of[id].socket){
|
||||||
if(this.of[id].socket.destroy){
|
if(this.of[id].socket.destroy){
|
||||||
this.of[id].socket.destroy();
|
this.of[id].socket.destroy();
|
||||||
|
|
Loading…
Reference in a new issue