lua-users home
lua-l archive

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

On Wed, May 27, 2009 at 2:27 AM, TNHarris <> wrote:
> The reliable way is to explicitly call a release function, which is what
> I'm currently doing, with a bold-faced note reminding me to always
> release link queries. But I'm sure one day I (or one of my users) will
> forget. So an automatic release would be preferred.

Have a look at:

RAII (so beloved of C++) is a very useful pattern

steve d.