header image

IDisposable and you

After cleaning up the disposing logic in Gwen.Net I may as well link this excellent article on the subject: DG Update: Dispose, Finalization, and Resource Management. It’s long, very detailed and signed by some of the best .NET programmers out there. Read it!

Yes, I know I shouldn’t throw exceptions in finalizers, I left them in Debug build to better catch object leaks. Will provide it as an option later.

~ by omeg on October 16, 2011.

C#, code

Leave a Reply