Re: To-be-closed variables and coroutines
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: To-be-closed variables and coroutines
- From: Andrew Gierth <andrew@...>
- Date: 2020年7月30日 01:29:46 +0100
>>>>> "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.