[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua 5.1: Anyone using the guard/finalize patch?
- From: Joshua Jensen <josh.jjensen@...>
- Date: Thu, 24 Feb 2011 21:30:40 -0700
----- Original Message -----
From: Tom N Harris
Date: 2/24/2011 6:42 PM
Remind me... isn't this the patch that only cleans up on function exit?
The finalize patch I cited originally cleans up on a per block basis. I
"think" this might be preferable in my case.
Did you see the the later thread on RAII,
I think that was the patch I eventually used. Somewhere in that thread
I also worked out a pure Lua solution that may suit your needs. Found
it, at the end of this message,