Bugfix: update mqtt connections dictionary (#1281)
This commit is contained in:
parent
07b0a2e0f0
commit
cda79f3e5c
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ Pattern.prototype.mqtt = function (
|
|||
cx = connections[key];
|
||||
} else {
|
||||
cx = new Paho.Client(host, client);
|
||||
connections[key] = cx;
|
||||
cx.onConnectionLost = onConnectionLost;
|
||||
cx.onMessageArrived = onMessageArrived;
|
||||
const props = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue