mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 10:08:31 +00:00
Workarounded some unload-issues (still there but late enough to not cause too much issues)
This commit is contained in:
parent
bc9ff70975
commit
276c1687a3
@ -189,8 +189,9 @@ namespace RGB.NET.Devices.CoolerMaster
|
|||||||
catch {/* shit happens */}
|
catch {/* shit happens */}
|
||||||
}
|
}
|
||||||
|
|
||||||
try { _CoolerMasterSDK.UnloadCMSDK(); }
|
// 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
|
||||||
catch { /* at least we tried */ }
|
//try { _CoolerMasterSDK.UnloadCMSDK(); }
|
||||||
|
//catch { /* at least we tried */ }
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -229,8 +229,9 @@ namespace RGB.NET.Devices.Razer
|
|||||||
|
|
||||||
TryUnInit();
|
TryUnInit();
|
||||||
|
|
||||||
try { _RazerSDK.UnloadRazerSDK(); }
|
// DarthAffe 03.03.2020: Fails with an access-violation - verify if an unload is already triggered by uninit
|
||||||
catch { /* at least we tried */ }
|
//try { _RazerSDK.UnloadRazerSDK(); }
|
||||||
|
//catch { /* at least we tried */ }
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user