lua-users home
lua-l archive

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


2010/8/4 Miles Bader <miles@gnu.org>:
> If you have some control over the exit, can't you clear out the registry
> references and then force a garbage collection before calling lua_close?

Hi Miles,

this is what I was thinking to do. More precisely I was thinking to
- clear the GLOBALS register
- make a full GC
- call lua_close

I was just wondering about what could be the more efficient way to
clean up the globals table.

Francesco