Finalizers Are Pointless
does not guarantee that the finalizer on an object is ever invoked, much less deterministically. This means you cannot use neat resource management tricks like
in general is a bit of a pain, and you end up using
techniques to get the resource clean-up right in your 'finally' blocks.
View edit of
July 16, 2004
with title or text search