From 9004c50d7899d77ad2bff042edaf3bac82b95671 Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Wed, 17 Jan 2024 23:39:06 +0100 Subject: [PATCH 1/2] Disabled resharper warning about missspelling of MSI --- RGB.NET.Devices.SteelSeries/Generic/LedMappings.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/RGB.NET.Devices.SteelSeries/Generic/LedMappings.cs b/RGB.NET.Devices.SteelSeries/Generic/LedMappings.cs index d345ef74..59310bda 100644 --- a/RGB.NET.Devices.SteelSeries/Generic/LedMappings.cs +++ b/RGB.NET.Devices.SteelSeries/Generic/LedMappings.cs @@ -318,6 +318,7 @@ public static class LedMappings /// /// Gets the mapping for GE78HX keyboards. /// + // ReSharper disable once InconsistentNaming public static LedMapping KeyboardMSIGE78Mapping { get; } = new() { { LedId.Keyboard_Escape, SteelSeriesLedId.Escape }, From 6ba7e44e3c21da8419a38917db5ffcdde92b1b58 Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Wed, 17 Jan 2024 23:39:39 +0100 Subject: [PATCH 2/2] Added mising dispose in E131UpdateQueue --- RGB.NET.Devices.DMX/E131/E131UpdateQueue.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/RGB.NET.Devices.DMX/E131/E131UpdateQueue.cs b/RGB.NET.Devices.DMX/E131/E131UpdateQueue.cs index 600a1ea2..2e513ec4 100644 --- a/RGB.NET.Devices.DMX/E131/E131UpdateQueue.cs +++ b/RGB.NET.Devices.DMX/E131/E131UpdateQueue.cs @@ -99,5 +99,12 @@ private byte GetNextSequenceNumber() return _sequenceNumber++; } + public override void Dispose() + { + base.Dispose(); + + _socket.Dispose(); + } + #endregion } \ No newline at end of file