Skip to content

Commit fd02e06

Browse files
committed
need to clear the jobs in the for loop
1 parent 2a04528 commit fd02e06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/kreeq.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,8 @@ void DBG::validateSequences() {
520520
threadPool.queueJobs(jobs);
521521

522522
jobWait(threadPool);
523+
524+
jobs.clear();
523525

524526
for(uint16_t m = mapRange[0]; m<=mapRange[1]; ++m) {
525527

@@ -677,7 +679,6 @@ bool DBG::evaluateSegment(uint32_t s, std::array<uint16_t, 2> mapRange) {
677679

678680
bool DBG::validateSegment(uint32_t s) {
679681

680-
681682
// internal
682683
uint32_t a = s;
683684
s = a;

0 commit comments

Comments
 (0)