Hacker News new | ask | show | jobs
by leg 827 days ago
std::quick_exit() also works, though you can decide if it's worthwhile to allow parts of the program to register functions to be called at quick exit time.