lua-users home
lua-l archive

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

On 10-Aug-05, at 12:44 AM, David Morris-Oliveros wrote:

Are coroutines closed? They're created through lua_newthread(), but not closed with lua_close() right?

When you're finished with one, you just let it die and leave it alone, dangling inside lua, right?

...where it will get garbage collected, assuming you haven't accidentally retained a pointer to it.