Closed Hornwitser closed 4 years ago
Call unref() on the interval created by lib/history.js so that it does not prevent the event loop for exiting. Relieves the need to call pidusage.clear() before exiting in applications using the library.
This is a simpler alternative to #106.
This would be sufficient indeed, I like the solution. Thanks!
Call unref() on the interval created by lib/history.js so that it does not prevent the event loop for exiting. Relieves the need to call pidusage.clear() before exiting in applications using the library.
This is a simpler alternative to #106.