mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Reset stratum_notify flag on suspend_stratum as well.
This commit is contained in:
parent
07ae6172cc
commit
0810212c9a
2
util.c
2
util.c
@ -1508,7 +1508,7 @@ void suspend_stratum(struct pool *pool)
|
||||
{
|
||||
applog(LOG_INFO, "Closing socket for stratum pool %d", pool->pool_no);
|
||||
mutex_lock(&pool->stratum_lock);
|
||||
pool->stratum_active = false;
|
||||
pool->stratum_active = pool->stratum_notify = false;
|
||||
mutex_unlock(&pool->stratum_lock);
|
||||
CLOSESOCKET(pool->sock);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user