1
0
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:
Con Kolivas 2013-03-07 14:20:33 +11:00
parent 07ae6172cc
commit 0810212c9a

2
util.c
View File

@ -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);
}