1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/nodes
Nick O'Leary 6b3010f95b Guard against null client in MQTT nodes
Fixes #130

There was a timing window where a client could connect to a broker just as new flows were deployed that would cause the on-connect callback to be called after client has been set to null. This caused an NPE.

The fix is to check client isn't null in the event handler.
2014-01-13 11:27:09 +00:00
..
core Guard against null client in MQTT nodes 2014-01-13 11:27:09 +00:00
99-sample.html.demo update sample node to reflect better way to close nodes. 2013-10-10 15:36:23 +01:00
99-sample.js.demo update sample to use environment variable for path to RED. 2013-10-28 09:59:36 +00:00