lua-users home
lua-l archive

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


This program works fine:

setmetatable({}, {__gc = function() print("Hello") end})
collectgarbage()

Maybe there is one persistent Lua process at the server side, or final garbage collection takes place after the script output is sent to you.