In article <20190104182924.gd23...@pony.stderr.spb.ru>,
Valery Ushakov  <u...@stderr.spb.ru> 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

Reply via email to