tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Lua shared object asymmetry loading Xlib.



In article <20190104182924.GD23526%pony.stderr.spb.ru@localhost>,
Valery Ushakov  <uwe%stderr.spb.ru@localhost> 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



Home | Main Index | Thread Index | Old Index