plcpeople / nodeS7

Node.JS library for communication to Siemens S7 PLCs
MIT License
358 stars 121 forks source link

Tracks all setTimeout calls and handle timers accordingly #73

Closed gfcittolin closed 5 years ago

gfcittolin commented 5 years ago

This patch aims to keep track of all setTimeout() calls, so we can properly handle these timers and prevent leaking any connection loop after calling dropConnection()

This fixes #70, netsmarttech/node-red-contrib-s7#26, and possibly netsmarttech/node-red-contrib-s7#30 and netsmarttech/node-red-contrib-s7#34 too

gfcittolin commented 5 years ago

As always, thanks for it! :)