Browse Source

Don't try to reap curls if benchmarking is enabled.

Con Kolivas 14 years ago
parent
commit
852f6a0eb0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      cgminer.c

+ 2 - 1
cgminer.c

@@ -4058,7 +4058,8 @@ static void *watchpool_thread(void __maybe_unused *userdata)
 		for (i = 0; i < total_pools; i++) {
 			struct pool *pool = pools[i];
 
-			reap_curl(pool);
+			if (!opt_benchmark)
+				reap_curl(pool);
 			if (!pool->enabled)
 				continue;