lua-users home
lua-l archive

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


The GC will free it when nothing else references it.

----- Original Message -----
From: "Rafael de Menezes" <soscpd@terra.com.br>
To: "Lua list" <lua@bazar2.conectiva.com.br>

What say to GC that the some.lua wasn't usefull again? Time? The code
expire?
----- Original Message -----
From: "cloudwu" <cloudwu@163.com>
To: "Lua list" <lua@bazar2.conectiva.com.br>

Hello L,

Wednesday, October 25, 2006, 2:38:37 PM, you wrote:

Lk> Hi, every
Lk> guys:
Lk>   ?When i use luaL_loadfile("some.lua"), and i
Lk> called aux_do(). but right now, i wanna to unload the "some.lua"
script
Lk> buffer, and free all objects defined in "some.lua".?

Lk> how to do this? anyone ,please give me some
Lk> help.

You don't need unload it, gc system will do.