Commit 2ccb6d78ca83d6906e3d57d92cdb8f620c782da7

Con Kolivas 2012-10-01T23:19:34

Decrease the queued count with stratum work once it's staged as well.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/cgminer.c b/cgminer.c
index 328b083..16c3955 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2583,6 +2583,7 @@ static void *get_work_thread(void *userdata)
 			kill_work();
 			free(ret_work);
 		}
+		dec_queued(pool);
 		goto out;
 	}