Hardware/Nvidia/NvidiaGroup.cs
changeset 298 96263190189a
parent 195 0ee888c485d5
child 344 3145aadca3d2
     1.1 --- a/Hardware/Nvidia/NvidiaGroup.cs	Sat Jun 04 13:27:11 2011 +0000
     1.2 +++ b/Hardware/Nvidia/NvidiaGroup.cs	Sun Jun 19 12:41:18 2011 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  
     1.5    The Initial Developer of the Original Code is 
     1.6    Michael Möller <m.moeller@gmx.ch>.
     1.7 -  Portions created by the Initial Developer are Copyright (C) 2009-2010
     1.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2011
     1.9    the Initial Developer. All Rights Reserved.
    1.10  
    1.11    Contributor(s):
    1.12 @@ -43,7 +43,7 @@
    1.13  
    1.14    internal class NvidiaGroup : IGroup {
    1.15     
    1.16 -    private readonly List<IHardware> hardware = new List<IHardware>();
    1.17 +    private readonly List<Hardware> hardware = new List<Hardware>();
    1.18      private readonly StringBuilder report = new StringBuilder();
    1.19  
    1.20      public NvidiaGroup(ISettings settings) {
    1.21 @@ -125,6 +125,9 @@
    1.22        return report.ToString();
    1.23      }
    1.24  
    1.25 -    public void Close() { }
    1.26 +    public void Close() {
    1.27 +      foreach (Hardware gpu in hardware)
    1.28 +        gpu.Close();      
    1.29 +    }
    1.30    }
    1.31  }