Browse Source

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

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

+ 1 - 0
cgminer.c

@@ -2583,6 +2583,7 @@ static void *get_work_thread(void *userdata)
 			kill_work();
 			kill_work();
 			free(ret_work);
 			free(ret_work);
 		}
 		}
+		dec_queued(pool);
 		goto out;
 		goto out;
 	}
 	}