lua-users home
lua-l archive

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


> If you have LuaSocket handy, try this:
>...
>It should call __gc now. I think that in your example, the lanes are 
>just terminated by the OS.


Here is the output:

>lua LanesBug2.wlua
luaopen_xbdm: threadId = 4756
luaopen_xbdm: threadId = 2880
luaxbdm_gc: userdata threadId = 4756, current thread id = 4756

Still only one module cleanup :-(