You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know I can use reg.finalizer, in initialize or on the object, but what do you think about making finalizers more explicit, i.e. having a special finalize method?
It should not be too hard with reg.finalizer. We just check if there is a finalize method at object creation, and if there is, we call reg.finalizer on it.
The text was updated successfully, but these errors were encountered:
I know I can use
reg.finalizer
, ininitialize
or on the object, but what do you think about making finalizers more explicit, i.e. having a specialfinalize
method?It should not be too hard with
reg.finalizer
. We just check if there is afinalize
method at object creation, and if there is, we callreg.finalizer
on it.The text was updated successfully, but these errors were encountered: