|
> > 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.