lua-users home
lua-l archive

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


> The problem is that I want to be able to close the root state in order
> to cause all the spawned threads to also end and be GC'ed.  This
> causes a fatal error (during what seems to be the "Sweep" functions in
> LUA) when lua_close is called on the root state.

  This (closing a state with suspended threads) should work without
problems, so it may be a bug. What version of Lua are you using? Can
you give more information?

-- Roberto