mac bug fixed

This commit is contained in:
Luis Fernando Molina committed 2020-03-27 17:41:40 +01:00
1 parent f70ace1feb
commit df2abdb644
2 files changed
+9 -2

No files matched your search

+2
View File
@@ -46,6 +46,8 @@ function newSystemEventHandler () {
if (WEB_SOCKETS_CONNECTION.readyState === 1) { // 1 means connected and ready.
WEB_SOCKETS_CONNECTION.send(JSON.stringify(command))
} else {
console.log('WebSocket message could not be sent because the connection was not ready. Message = ' + JSON.stringify(command))
}
}