mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Kill off threads that have failed using hash_sole_work instead of just disabling them.
This commit is contained in:
parent
bdbe9dd5fe
commit
2834eb8d6d
@ -6251,7 +6251,8 @@ static void hash_sole_work(struct thr_info *mythr)
|
||||
applog(LOG_ERR, "%s %d failure, disabling!", drv->name, cgpu->device_id);
|
||||
cgpu->deven = DEV_DISABLED;
|
||||
dev_error(cgpu, REASON_THREAD_ZERO_HASH);
|
||||
mt_disable(mythr, thr_id, drv);
|
||||
cgpu->shutdown = true;
|
||||
break;
|
||||
}
|
||||
|
||||
hashes_done += hashes;
|
||||
|
Loading…
Reference in New Issue
Block a user