On Sun, Jan 20, 2019 at 10:32:43AM +0100, Kamil Rytarowski wrote: > I find it as workaround of our libc behavior.
I disagree, there is no clean way to implement the call-on-dlclose semantics (i.e. it needs disgusting ld.elf_so hacks and layer violations). But maybe we should document the __cxa_atexit interface or provide a public version? Martin