diff --git a/trunk/CHANGELOG.txt b/trunk/CHANGELOG.txt index 00a3993cb..acacffde9 100644 --- a/trunk/CHANGELOG.txt +++ b/trunk/CHANGELOG.txt @@ -10,6 +10,8 @@ Process Hacker * Terminator test: TD1 (debugs a process and closes the debug object) * Terminator test: TT3 (TT1 is now completely user-mode) * Shows function file and line numbers where available + * Icon updating is now done on the shared thread to avoid the GUI + blocking when explorer.exe is suspended or is hanging * FIXED: * #2785648 - "cursor down crashes PH" * #2790404 - "System.InvalidOperationException" diff --git a/trunk/ProcessHacker/UI/Icons/CpuUsageIcon.cs b/trunk/ProcessHacker/UI/Icons/CpuUsageIcon.cs index b36c37339..ca311bce0 100644 --- a/trunk/ProcessHacker/UI/Icons/CpuUsageIcon.cs +++ b/trunk/ProcessHacker/UI/Icons/CpuUsageIcon.cs @@ -46,7 +46,8 @@ namespace ProcessHacker private void ProcessProvider_Updated() { - this.Parent.BeginInvoke(new MethodInvoker(this.ProviderUpdated)); + //this.Parent.BeginInvoke(new MethodInvoker(this.ProviderUpdated)); + this.ProviderUpdated(); } public bool Enabled diff --git a/trunk/ProcessHacker/UI/Icons/ProviderIcon.cs b/trunk/ProcessHacker/UI/Icons/ProviderIcon.cs index 441f49e5e..36c13861b 100644 --- a/trunk/ProcessHacker/UI/Icons/ProviderIcon.cs +++ b/trunk/ProcessHacker/UI/Icons/ProviderIcon.cs @@ -39,7 +39,8 @@ namespace ProcessHacker private void ProcessProvider_Updated() { - this.Parent.BeginInvoke(new MethodInvoker(this.ProviderUpdated)); + //this.Parent.BeginInvoke(new MethodInvoker(this.ProviderUpdated)); + this.ProviderUpdated(); } public bool Enabled