mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-14 08:53:03 -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();
|
ws.terminate();
|
||||||
|
|
||||||
this.logClientsCount();
|
this.logClientsCount();
|
||||||
}
|
|
||||||
|
|
||||||
|
} else {
|
||||||
ws.isAlive = false;
|
ws.isAlive = false;
|
||||||
|
|
||||||
ws.ping();
|
ws.ping();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}, 60 * 1000);
|
}, 60 * 1000);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue