lua-users home
lua-l archive

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

> [...] os.exit(x,true)
> closes the states, which is documented as "Destroys all objects in the
> given Lua state (calling the corresponding garbage-collection
> metamethods, if any)". I've always assumed this means ALL, I mean,
> including objects referenced by local vars in modules, main thread
> call stack and potentially suspended threads call stack. Is this
> correct?

The manual says "all objects", so your question boils down to whether
all means ALL. Yes, all means ALL, regardless capitalization.

-- Roberto