mac bug fixed
This commit is contained in:
1 parent
50f66656b2
commit
ae653d96b9
4 files changed
+16
-3
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