Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
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:
Sounds like a good idea to me!
Sorry, something went wrong.
OK, I'll put together a PR.
Merge pull request #93 from gaborcsardi/destructor
Finalizers, closes #92
Successfully merging a pull request may close this issue.