mirror of https://github.com/PentHertz/srsLTE.git
fix the hanging in the UE during shutdown
This commit is contained in:
parent
4311c3121c
commit
00256f2cd9
|
@ -173,9 +173,11 @@ private:
|
||||||
pthread_cond_wait(&cv_full, &mutex);
|
pthread_cond_wait(&cv_full, &mutex);
|
||||||
}
|
}
|
||||||
if (!enable) {
|
if (!enable) {
|
||||||
|
num_threads--;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else if (q.size() >= (uint32_t) capacity) {
|
} else if (q.size() >= (uint32_t) capacity) {
|
||||||
|
num_threads--;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue