Re: Userdata and GC activity
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Userdata and GC activity
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2008年11月18日 08:16:16 -0200
> > I usually remove the metatable from userdata objects that have been closed
> > explicitly instead of storing NULL and checking.
>
> Isn't that making the error message unclear if you later access the userdata ?
Yes, a little, but I don't think it's (too) confusing. Tastes vary, of course.