On 2021-11-28 12:13, Ranier Vilela wrote:
You have to make sure that no library code is executed after dlclose.
Thanks. I guess I have to find out what calls dlclose. My belief is that it is only called when the Lua thread that required the C-module is shut down. If that is the case there is no problem.