node-ethernet-ip
node-ethernet-ip copied to clipboard
Fix for hanging timeout
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.
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 | |
---|---|
Change from base Build 141: | 0.08% |
Covered Lines: | 474 |
Relevant Lines: | 885 |