Use new Computer.Reset method.

This commit is contained in:
Phyxion
2020-05-25 12:10:35 +02:00
parent 738752b899
commit d9ec250460
+1 -2
View File
@@ -1017,8 +1017,7 @@ namespace LibreHardwareMonitor.UI
// disable the fallback MainIcon during reset, otherwise icon visibility
// might be lost
_systemTray.IsMainIconEnabled = false;
_computer.Close();
_computer.Open();
_computer.Reset();
// restore the MainIcon setting
_systemTray.IsMainIconEnabled = _minimizeToTray.Value;
}