Re:Visualising the .NET Garbage Collector
by vishbar on Tuesday June 21, 2016 @04:18AM
(#11944278)
The "canonical" implementation of IDisposable includes a finalizer. As you said, that's the only time I've seen it used. Adding finalizers to classes has performance implications as well as the CLR will add any object with a finalizer to the finalizer queue (hence the GC.SuppressFinalize(this) you always see in implementations of IDisposable).
[ Parent
| on HN ]
There are no comments on this comment yet.