Re: Garbage Collection
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Garbage Collection
- From: Björn De Meyer <bjorn.demeyer@...>
- Date: 2002年7月31日 11:20:22 +0200
David Burgess wrote:
> If I use lua_ref to lock the stmt(cursor) then things
> are not gc'ed until the program terminates (which is not
> good for stmt handles). Any ideas?
>
> DB
You'll probably have to add a CUR:Close() function
which unlocks the referece and performs a GC.
Expliit close is not a bad thing, IMO.
--
"No one knows true heroes, for they speak not of their greatness." --
Daniel Remar.
Björn De Meyer
bjorn.demeyer@pandora.be