mqtt-elements icon indicating copy to clipboard operation
mqtt-elements copied to clipboard

Removing mqtt-connection from DOM should call client.end()

Open sandro-k opened this issue 9 years ago • 0 comments

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.

sandro-k avatar Oct 15 '15 14:10 sandro-k