lua-users home
lua-l archive

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


> But that function will be a closure, so it doesn't require parameters
> necesssarily.

He was talking about atexit from the C standard library: There's no way
to tell which Lua state to use. In fact, an application that used multiple
Lua states would have to keep a list of live states to use in its atexit
handler.