Added native-unload to all deviceprovider-disposes

This commit is contained in:
DarthAffe committed 2020-03-03 14:30:12 +01:00
1 parent c98ffd2dbf
commit 1cfdeefde1
17 files changed
+60 -29

No files matched your search

@@ -55,7 +55,7 @@ namespace RGB.NET.Devices.Logitech.Native
_logiLedSetLightingForTargetZonePointer = (LogiLedSetLightingForTargetZonePointer)Marshal.GetDelegateForFunctionPointer(GetProcAddress(_dllHandle, "LogiLedSetLightingForTargetZone"), typeof(LogiLedSetLightingForTargetZonePointer));
}
private static void UnloadLogitechGSDK()
internal static void UnloadLogitechGSDK()
{
if (_dllHandle == IntPtr.Zero) return;