mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 14:25:16 +00:00
Fixed Issue 415.
This commit is contained in:
@@ -10,5 +10,5 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.5.1.9")]
|
||||
[assembly: AssemblyInformationalVersion("0.5.1.9 Alpha")]
|
||||
[assembly: AssemblyVersion("0.5.1.10")]
|
||||
[assembly: AssemblyInformationalVersion("0.5.1.10 Alpha")]
|
@@ -5,7 +5,8 @@
|
||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
Copyright (C) 2009-2010 Paul Werelds <paul@werelds.net>
|
||||
|
||||
Copyright (C) 2012 Michael M<>ller <mmoeller@openhardwaremonitor.org>
|
||||
|
||||
*/
|
||||
|
||||
using System;
|
||||
@@ -102,6 +103,9 @@ namespace OpenHardwareMonitor.WMI {
|
||||
item => item.Identifier == identifier.ToString()
|
||||
);
|
||||
|
||||
if (instanceIndex == -1)
|
||||
return;
|
||||
|
||||
try {
|
||||
Instrumentation.Revoke(activeInstances[instanceIndex]);
|
||||
} catch (Exception) { }
|
||||
|
Reference in New Issue
Block a user