What happens when libraries are not "cleaned up" in c++ upon exit

view full story

http://stackoverflow.com – The title of the question essentially says it all. I am running linux, and simply wondering what actually happens post process death to the code of libraries not "cleaned up" by running a terminate function on them or something of the like. I have seen people implement specific cleanup on exit functions, and others not do it. (HowTos)