Fix schedule issue

This commit is contained in:
Bryan Ashby 2018-12-14 23:21:33 -07:00
parent b903b2ee82
commit a3ba57b0b8
2 changed files with 9 additions and 5 deletions

View file

@ -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 */
}
});
}
});