harryhorton / node-nmap

NPM package for interfacing with local NMAP installation
MIT License
67 stars 26 forks source link

Close timer in event of error #35

Closed dooglz closed 3 years ago

dooglz commented 6 years ago

If an error occurs, the timer created by this.timer = setInterval on line 123 never gets cleared, and the program will never exit. This commit fixes this.

harryhorton commented 6 years ago

36