[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luacom: why no Release()?
- From: David Dunham <david@...>
- Date: Wed, 29 Jul 2009 19:07:22 -0700
On 29 Jul 2009, at 19:04, Luiz Henrique de Figueiredo wrote:
The garbage collector runs when the Lua state is closed. The
standard Lua
interpreter closes its Lua state before exiting. The garbage
collector does
not run if the process terminates abnormaly or via an explicit call
to os.exit.
To me this suggests that the average app should not close the Lua
state -- who wants to wait for GC when your user is trying to quit?
David Dunham Development Manager
+1 206 926 5722 GameHouse Studios