Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFinalizers #92
Finalizers #92
Comments
|
Sounds like a good idea to me! |
|
OK, I'll put together a PR. |
I know I can use
reg.finalizer, ininitializeor on the object, but what do you think about making finalizers more explicit, i.e. having a specialfinalizemethod?It should not be too hard with
reg.finalizer. We just check if there is afinalizemethod at object creation, and if there is, we callreg.finalizeron it.