mac bug fixed
This commit is contained in:
1 parent
f70ace1feb
commit
df2abdb644
2 files changed
+9
-2
No files matched your search
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user