Browse Source

Set pool died on failed testing to allow idle flag and time to be set.

Con Kolivas 13 years ago
parent
commit
81c02123f8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      cgminer.c

+ 2 - 1
cgminer.c

@@ -6980,7 +6980,8 @@ static void *test_pool_thread(void *arg)
 		}
 		}
 		mutex_unlock(&control_lock);
 		mutex_unlock(&control_lock);
 		pool_resus(pool);
 		pool_resus(pool);
-	}
+	} else
+		pool_died(pool);
 
 
 	return NULL;
 	return NULL;
 }
 }