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 for hanging timeout #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jgentes
Copy link

@jgentes jgentes commented Feb 24, 2020

When using methods from this library, there's a ~10 second delay before the process exits. It's due to the setTimeout in the promiseTimeout utility, which never gets cleared if the promise resolves successfully. Adding a clearTimeout here takes care of that.

When using methods from this library, there's a ~10 second delay before the process exits. It's due to the `setTimeout` here, which never gets cleared if the promise resolves successfully. Adding a `clearTimeout` here takes care of that.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 147

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.08%) to 51.102%

Totals Coverage Status
Change from base Build 141: 0.08%
Covered Lines: 474
Relevant Lines: 885

💛 - Coveralls

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.

2 participants