On 5 Apr 2013, at 18:53, James Peach wrote: > Ah. It seems dangerous to me; some other plugin could register a subsequent > atexit() that depends on the DSOs that you are tearing down.
To depend on a library, would it not have to take place after the library is loaded? In which case, its atexit would also run first, while the library was still loaded. -- Nick Kew