lua-users home
lua-l archive

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


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>
Sent: Wednesday, October 25, 2006 9:51 AM
Subject: Re: How to unload script.


> 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.
>
> --
> Best regards,
>  cloudwu                            mailto:cloudwu@163.com
>             http://blog.codingnow.com
>
> [This will pass too]
>
>
>