diff --git a/app/Gpu/AmdGpuControl.cs b/app/Gpu/AmdGpuControl.cs index 919d2072..72034745 100644 --- a/app/Gpu/AmdGpuControl.cs +++ b/app/Gpu/AmdGpuControl.cs @@ -187,7 +187,11 @@ public class AmdGpuControl : IGpuControl } } - foreach (string kill in appNames) ProcessHelper.KillByName(kill); + List immune = new() { "svchost", "system", "ntoskrnl", "csrss", "winlogon", "wininit", "smss" }; + + foreach (string kill in appNames) + if (!immune.Contains(kill.ToLower())) + ProcessHelper.KillByName(kill); } diff --git a/app/Settings.cs b/app/Settings.cs index 2e1834e4..7eb3366f 100644 --- a/app/Settings.cs +++ b/app/Settings.cs @@ -1474,7 +1474,7 @@ namespace GHelper UltimateUI(mux == 1); - if (eco < 0) + if (eco < 0 && mux < 0) { isGpuSection = tableGPU.Visible = false; SetContextMenu();