Hi Roberto, I wrote that code on the fly while i was writing the email, i have only tested the production code but i can give it a try. the problem tho is not about the collection of the "tableref" but the one of the the userdata created and referenced inside the coroutine that is yielding. -- View this message in context: http://lua.2524044.n2.nabble.com/coroutines-local-userdata-and-GC-tp7664107p7664126.html Sent from the Lua-l mailing list archive at Nabble.com.