Do not show hardware manager in final status display in case status is EXHAUSTED, CRACKED, ABORTED OR QUIT -- it could be confusing for users to see an utilization of 0% at this point

pull/363/head
Jens Steube 8 years ago
parent 829289b109
commit 4075577340

@ -1537,6 +1537,12 @@ void status_display ()
}
#ifdef HAVE_HWMON
if (data.devices_status == STATUS_EXHAUSTED) return;
if (data.devices_status == STATUS_CRACKED) return;
if (data.devices_status == STATUS_ABORTED) return;
if (data.devices_status == STATUS_QUIT) return;
if (data.gpu_temp_disable == 0)
{
hc_thread_mutex_lock (mux_adl);
@ -1620,6 +1626,7 @@ void status_display ()
hc_thread_mutex_unlock (mux_adl);
}
#endif // HAVE_HWMON
}

Loading…
Cancel
Save