Not sure if that’s what you are referring to as destructors, but they added a new way to have code run at resource collection in go 1.24
Not sure if that’s what you are referring to as destructors, but they added a new way to have code run at resource collection in go 1.24
Yeah, and they still charge a professional fee to the last tenant even though they did it horribly for half the cost
Thanks for taking the time to explain it. Indeed the new runtime method does not guarantee when the resource will be cleaned, so something like that Drop trait would be quite useful