Workarounded some unload-issues (still there but late enough to not cause too much issues)

This commit is contained in:
DarthAffe committed 2020-03-03 17:17:42 +01:00
1 parent bc9ff70975
commit 276c1687a3
2 files changed
+6 -4

No files matched your search

@@ -189,8 +189,9 @@ namespace RGB.NET.Devices.CoolerMaster
catch {/* shit happens */}
}
try { _CoolerMasterSDK.UnloadCMSDK(); }
catch { /* at least we tried */ }
// DarthAffe 03.03.2020: Should be done but isn't possible due to an weird winodws-hook inside the sdk which corrupts the stack when unloading the dll
//try { _CoolerMasterSDK.UnloadCMSDK(); }
//catch { /* at least we tried */ }
}
#endregion