Hello,
I'm working on a custom node that connects to an external websocket. My problem right now is that after I restart node-red the external API gives me a "connection limit exceeded" message.
I think there's a few ways I need to change my code but one I need help with is how can I detect when node-red is closing so that I can make a disconnect() call?
Appreciate the help, thanks,
-Matt