Closed henryruhs closed 2 years ago
I am going to clean process.on('SIGINT'
Developers can handle the exited themselves
When calling several spinners I am catch an error
Chrome(node:56934) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 3 SIGINT listeners added to [process]. Use emitter.setMaxListeners() to increase limit
Should be handled via uncaughtException
then, but you are right - it would be fine to let developers handle it.
I would love to give a 0.3.0-beta.1
a try.
Release 0.3.0 (Removed process.on('SIGINT')
)
What do you think about moving this to a method:
You could also handle more exit types like: