lua-users home
lua-l archive

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


> thank you for this pointer; this looks very deadly to the LuaState ...

My impression was that you wanted to kill the whole family.
 
> is lua_close() signal-safe?

Probably not: lua_close probably calls the state's memory allocator to
free memory, which by default calls C's free, and also any finalizers,
which can do anything.