We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d86f2b commit 7902f5cCopy full SHA for 7902f5c
1 file changed
OpenHardwareMonitor/UI/MainForm.cs
@@ -5,6 +5,7 @@
5
using System.IO;
6
using System.Linq;
7
using System.Runtime.InteropServices;
8
+using System.Threading.Tasks;
9
using System.Windows.Forms;
10
using Aga.Controls.Tree;
11
using Aga.Controls.Tree.NodeControls;
@@ -658,7 +659,9 @@ private void MainForm_Load(object sender, EventArgs e)
658
659
RestoreCollapsedNodeState(treeView);
660
treeView.Width += 1; //just to apply column auto-resize
661
- Updater.CheckForUpdates(true); //will display prompt only if update available & when main form displayed
662
+ //will display prompt only if update available & when main form displayed
663
+ Task task = Task.Delay(1000)
664
+ .ContinueWith(t => Updater.CheckForUpdates(true));
665
666
FormClosed += MainForm_FormClosed;
667
}
0 commit comments