mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Don't ping websocket after it's being terminated
This commit is contained in:
parent
d19bbd6ba9
commit
045bafdf00
|
|
@ -35,11 +35,12 @@ class WebSocket {
|
|||
ws.terminate();
|
||||
|
||||
this.logClientsCount();
|
||||
|
||||
} else {
|
||||
ws.isAlive = false;
|
||||
|
||||
ws.ping();
|
||||
}
|
||||
|
||||
ws.isAlive = false;
|
||||
|
||||
ws.ping();
|
||||
});
|
||||
}, 60 * 1000);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue