lua-users home
lua-l archive

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


>>>>> "Egor" == Egor Skriptunoff <egor.skriptunoff@gmail.com> writes:

 Egor> As a result, we have to duplicate all __close functionality in
 Egor> finalizers. Why such inconvenience?

Other than the auto_close module I mentioned recently (which exists
solely as a proxy for __close methods), every real-life __close
metamethod I have written so far has been ... just a reference to the
finalizer.

-- 
Andrew.