[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re: Cleaning up specific lua scripts
- From: Pierre-Yves Gérardy <pygy79@...>
- Date: Thu, 25 Mar 2010 11:00:53 +0100
On Thu, Mar 25, 2010 at 10:52, bravefly <bravefly@gmail.com> wrote:
> First my system load a lua file in memory as the common module, then, to
> response the user's click,
> I must load the second lua file in. when done, I need unload the previous
> lua file, and load anther
> lua file in. when unloading the second lua file , I must release all the
> memory which the second lua file
> used and keep the first lua file in memory.
I'll second Steve.
The solution I offer above (or a variation) should do the trick in
pure Lua. Why do you want to do it in C?
Cheers,
-- Pierre-Yves
- References:
- Cleaning up specific lua scripts, Ricky Haggett
- Re: Cleaning up specific lua scripts, steve donovan
- RE: Cleaning up specific lua scripts, Ricky Haggett
- Re: Cleaning up specific lua scripts, steve donovan
- RE: Cleaning up specific lua scripts, Ricky Haggett
- Re: Cleaning up specific lua scripts, Pierre-Yves Gérardy
- RE: Cleaning up specific lua scripts, Ricky Haggett
- Re: Cleaning up specific lua scripts, Pierre-Yves Gérardy
- Re: Cleaning up specific lua scripts, bravefly
- Re: Re: Cleaning up specific lua scripts, bravefly