DEWETRON / OXYGEN-SDK-MQTT

OXYGEN MQTT Plugin
MIT License
1 stars 3 forks source link

Plugin crashes when closing OXYGEN and Plugin is not connected to any broker #2

Closed HpLightcorner closed 2 years ago

HpLightcorner commented 2 years ago

The plugin tries to (re)connect to the specified broker once an instance has been added to OXYGEN. However, when the broker closes the connection or the plugin cannot establish a connection, and OXYGEN is closed, the plugin throws a runtime error. It seems the plugin tries to disconnect from the broker even when there is no connection established.