Fixed use after dispose for novation devices

This commit is contained in:
DarthAffe committed 2020-03-03 16:00:36 +01:00
1 parent 4f72ff117c
commit bc9ff70975
1 file changed
+2 -2
@@ -78,11 +78,11 @@ namespace RGB.NET.Devices.Novation
/// <inheritdoc cref="AbstractRGBDevice{TDeviceInfo}.Dispose" />
public override void Dispose()
{
Reset();
try { UpdateQueue?.Dispose(); }
catch { /* at least we tried */ }
Reset();
base.Dispose();
}