fix websocket reload
This commit is contained in:
parent
71bb9375d2
commit
e820032a3a
|
@ -250,8 +250,8 @@ class SocketClient extends EventEmitter {
|
|||
console.log('Restarting WebSocket');
|
||||
this.ws.onclose = null;
|
||||
this.ws.onmessage = null;
|
||||
this.ws = null;
|
||||
this.ws.close();
|
||||
this.ws = null;
|
||||
this.connect();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user