In article <[email protected]>, Valery Ushakov <[email protected]> wrote: > >When atexit handlers are run when main returns the dlclose has already >yanked the function that was registered to run. With explicit >os.exit() the exit happens while the libs are still loaded, so it >works ok.
I fixed the code not to use atexit() but a destructor. christos
