exit

A replacement for process.exit that ensures stdio are fully drained before exiting.

on-exit-leak-free

Execute a function on exit without leaking memory, allowing all objects to be garbage collected