GPU apps stopping fix

This commit is contained in:
Serge
2023-06-24 16:22:43 +02:00
parent 7f6bdda39a
commit 666dea9bfd
2 changed files with 15 additions and 3 deletions

View File

@@ -993,7 +993,10 @@ namespace GHelper
private void ButtonStopGPU_Click(object? sender, EventArgs e)
{
HardwareControl.KillGPUApps();
if (HardwareControl.GpuControl is not null)
{
HardwareControl.GpuControl.KillGPUApps();
}
}
public async void RefreshSensors(bool force = false)
@@ -1615,7 +1618,7 @@ namespace GHelper
if (eco < 0 && mux < 0)
{
isGpuSection = false;
buttonEco.Visible = false;
buttonStandard.Visible = false;
buttonUltimate.Visible = false;