mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-07 14:53:38 +00:00
check .send exists before running heartbeat
This commit is contained in:
+1
-1
@@ -299,7 +299,7 @@ function heartbeat() {
|
||||
initDeviceConnection(deviceID);
|
||||
} else if (Date.now() - d.lastMessage > d.heartbeatTimeout) {
|
||||
infoUpdate(d, 'status', 'broken');
|
||||
} else if (d.port !== undefined && d.addresses.length > 0) {
|
||||
} else if (d.port !== undefined && d.addresses.length > 0 && d.send) {
|
||||
PLUGINS.all[d.type].heartbeat(d);
|
||||
} else {
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user