Fixed the following issue (present only on 32-bit systems):

Version: 0.7.0.0

System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenHardwareMonitor.GUI.MainForm.timer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Common Language Runtime: 4.0.30319.18444
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
Process Type: 32-Bit
This commit is contained in:
Michael Möller
2014-12-30 22:47:39 +00:00
parent bf8d491ef2
commit f054320731

View File

@@ -536,7 +536,7 @@ namespace OpenHardwareMonitor.GUI {
wmiProvider.Update();
if (logSensors.Value && delayCount >= 4)
if (logSensors != null && logSensors.Value && delayCount >= 4)
logger.Log();
if (delayCount < 4)