The Dispose(bool disposing) Pattern is Broken

by bill-s, 2020-05-01T03:13:53.687Z

In .NET, the relationship between Dispose() and finalizers is confusing. In this post, we take a look at the Dispose pattern, the snowball effect of the pattern and why the pattern is broken. Then, we take a look at one of the solutions, namely, SafeHandles. Finally, we reanalyze the problem.

Read More