FlowFuse / nr-project-nodes

A set of Node-RED nodes for inter-project communication within the FlowFuse platform
Apache License 2.0
5 stars 0 forks source link

Fix Project Nodes multiple MQTT connections issue #66

Closed Steve-Mcl closed 3 months ago

Steve-Mcl commented 3 months ago

closes #62

Description

  1. Adds a containment function to verify there is only ever 1 connection
  2. unconditionally calls end with the force parameter set true after a normal end (regardless of success)

these 2 containment measures have proved to successfully maintain a single connection regardless of my attempts to break it.

Related Issue(s)

62

Checklist

Labels