Groups must be locked during reset, otherwise the collection can be modified while enumerating.
This commit is contained in:
Phyxion
2020-07-17 09:48:35 +02:00
parent 988dcd58b3
commit 5d7f476711
16 changed files with 77 additions and 52 deletions
@@ -63,7 +63,7 @@ namespace LibreHardwareMonitor.Hardware.Controller.AquaComputer
}
}
public IEnumerable<IHardware> Hardware => _hardware;
public IReadOnlyList<IHardware> Hardware => _hardware;
public void Close()
{