readline: remove usage of process exit event listener
requested to merge github/fork/lianmakesthings/remove_usage_of_process_exit_event_listener into master
Removes the unneccesary usage of the process.exit event listener (NodeJS code and learn)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines