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

Call LogiLedShutdown on Logitech provider dispose
This commit is contained in:
DarthAffe authored and GitHub committed 2024-02-12 14:57:37 +01:00
commit a4bd797912
1 file changed
+3
@@ -277,6 +277,9 @@ public class LogitechDeviceProvider : AbstractRGBDeviceProvider
try { _LogitechGSDK.LogiLedRestoreLighting(); } try { _LogitechGSDK.LogiLedRestoreLighting(); }
catch { /* at least we tried */ } catch { /* at least we tried */ }
try { _LogitechGSDK.LogiLedShutdown(); }
catch { /* at least we tried */ }
try { _LogitechGSDK.UnloadLogitechGSDK(); } try { _LogitechGSDK.UnloadLogitechGSDK(); }
catch { /* at least we tried */ } catch { /* at least we tried */ }