PLCHome / node-red-contrib-ads

Beckhoff TwinCat ADS support for Node-Red.
MIT License
15 stars 11 forks source link

Try to fix reconnection problems #52

Closed skadisch closed 1 year ago

skadisch commented 1 year ago

Callbacks of an old connection are sometimes executed, which causes weird behavior. This PR tries to fix this by assuring that the callbacks are only executed if they have been initiated by the active connection.

This is a simple and fast solution to the problem, yet probably not the most beautiful approach.

hbTecAG commented 1 year ago

Hello Can you create a release with this PR? For us, this has helped to achieve a more stable behaviour.

Thanks and greetings Reto

PLCHome commented 1 year ago

@hbTecAG @skadisch i need your name at npm