Fixed some code issues (dispose finalizers)

This commit is contained in:
DarthAffe committed 2023-02-10 19:23:48 +01:00
1 parent 180b0e4538
commit d6aed5c5a2
17 files changed
+47 -10

No files matched your search

@@ -100,6 +100,8 @@ public class CoolerMasterDeviceProvider : AbstractRGBDeviceProvider
try { _CoolerMasterSDK.Reload(); }
catch { /* Unlucky.. */ }
GC.SuppressFinalize(this);
}
#endregion
@@ -33,6 +33,8 @@ public abstract class CoolerMasterRGBDevice<TDeviceInfo> : AbstractRGBDevice<TDe
_CoolerMasterSDK.EnableLedControl(false, DeviceInfo.DeviceIndex);
base.Dispose();
GC.SuppressFinalize(this);
}
#endregion