1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-13 01:58:30 +00:00

Merge pull request #375 from Aytackydln/logi-shutdown-on-dispose

Call LogiLedShutdown on Logitech provider dispose
This commit is contained in:
DarthAffe 2024-02-12 14:57:37 +01:00 committed by GitHub
commit a4bd797912
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -277,6 +277,9 @@ public class LogitechDeviceProvider : AbstractRGBDeviceProvider
try { _LogitechGSDK.LogiLedRestoreLighting(); }
catch { /* at least we tried */ }
try { _LogitechGSDK.LogiLedShutdown(); }
catch { /* at least we tried */ }
try { _LogitechGSDK.UnloadLogitechGSDK(); }
catch { /* at least we tried */ }