Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracks all setTimeout calls and handle timers accordingly #73

Merged
merged 2 commits into from
Feb 11, 2019

Conversation

gfcittolin
Copy link
Collaborator

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, st-one-io/node-red-contrib-s7#26, and possibly st-one-io/node-red-contrib-s7#30 and st-one-io/node-red-contrib-s7#34 too

Copy link
Owner

@plcpeople plcpeople left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good, we will do some tests on a couple of PLCs next.

@plcpeople plcpeople merged commit b3b2711 into master Feb 11, 2019
@gfcittolin gfcittolin deleted the 70-drop-connection branch February 14, 2019 12:43
@gfcittolin
Copy link
Collaborator Author

As always, thanks for it! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Impossible to drop connection with wrong connection parameters
2 participants