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

Fix issue with excluding unrefed timers in node version <v11.0.0 #53

Merged
merged 2 commits into from Mar 7, 2020

Conversation

deepal
Copy link
Contributor

@deepal deepal commented Mar 7, 2020

This fixes a critical issue in excluding unrefed timers in Node v11.0.0. timeout.hasRef() is only available in Node v11.0.0 and above. This PR adds an additional check for the existence of hasRef() to prevent an unhandled error.

cc @mafintosh

@deepal
Copy link
Contributor Author

deepal commented Mar 7, 2020

This fixes a regression in #52

@mafintosh mafintosh merged commit ed00a7a into mafintosh:master Mar 7, 2020
@mafintosh
Copy link
Owner

Ah ya, good catch. 2.1.2

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

Successfully merging this pull request may close these issues.

None yet

2 participants