mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-08 13:44:39 +02:00
Fix schedule issue
This commit is contained in:
parent
b903b2ee82
commit
a3ba57b0b8
2 changed files with 9 additions and 5 deletions
|
@ -203,7 +203,11 @@ exports.getModule = class WebSocketLoginServer extends LoginServerModule {
|
|||
ws.isConnectionAlive = false; // pong will reset this
|
||||
|
||||
Log.trace('Ping to remote WebSocket client');
|
||||
return ws.ping('', false); // false=don't mask
|
||||
try {
|
||||
ws.ping('', false); // false=don't mask
|
||||
} catch(e) { // don't barf on closing state
|
||||
/* nothing */
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue