Skip to content

Commit

Permalink
Bugfix: update mqtt connections dictionary (#1281)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaxu authored Feb 7, 2025
1 parent 07b0a2e commit cda79f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mqtt/mqtt.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit cda79f3

Please sign in to comment.