lua-users home
lua-l archive

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

> I don't know how to mark this coroutine to be garbage collectable?

A coroutine is just like any other Lua value: it is collected when
no references exist for it. So, just make sure no such references
exist and it'll be collected. --lhf