mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 06:15:08 +00:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user