From e84bc721eefbc0a8af3a4e54f87ac81097ec6dab Mon Sep 17 00:00:00 2001 From: Scott Pidzarko Date: Fri, 16 Jun 2023 16:36:41 -0600 Subject: [PATCH] chore: Update SafeMutex.cs to remove commented out boilerplate IDisposable boilerplate generates commented out finalizer. Removing commented out finalizer at request of upstream maintainer. --- ICD.Common.Utils/Threading/SafeMutex.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ICD.Common.Utils/Threading/SafeMutex.cs b/ICD.Common.Utils/Threading/SafeMutex.cs index 2b2e631..1349af1 100644 --- a/ICD.Common.Utils/Threading/SafeMutex.cs +++ b/ICD.Common.Utils/Threading/SafeMutex.cs @@ -113,14 +113,6 @@ namespace ICD.Common.Utils _disposedValue = true; } } - - - // override finalizer only if 'Dispose(bool disposing)' has code to free unmanaged resources - // ~SafeMutex() - // { - // // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method - // Dispose(disposing: false); - // } /// public void Dispose()