3 ms·
Yes, I was thinking of finalizers. To me, the main problem with them is that I have no control over when/if they get run. Fortunately, there is defer. ;-)
by krylon 8y ago
Yes, I was thinking of finalizers.
To me, the main problem with them is that I have no control over when/if they get run. Fortunately, there is defer. ;-)