mqtt-elements
mqtt-elements copied to clipboard
Removing mqtt-connection from DOM should call client.end()
When removing a mqtt-connection element via
document.querySelector("mqtt-connection").remove()
currently the detached: function() {)
is not used to properly/ clean disconnect the client from the broker.