[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Garbage Collection
- From: Björn De Meyer <bjorn.demeyer@...>
- Date: Wed, 31 Jul 2002 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?
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." --
Björn De Meyer