mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-09 02:25:24 +02:00
Fixed stall
This commit is contained in:
@ -39,7 +39,6 @@ namespace dsp {
|
||||
std::lock_guard<std::mutex> lck(sigMtx);
|
||||
contentSize = size;
|
||||
dataReady = true;
|
||||
lck.~lock_guard();
|
||||
}
|
||||
cv.notify_one();
|
||||
}
|
||||
@ -56,7 +55,6 @@ namespace dsp {
|
||||
{
|
||||
std::lock_guard<std::mutex> lck(sigMtx);
|
||||
dataReady = false;
|
||||
lck.~lock_guard();
|
||||
}
|
||||
cv.notify_one();
|
||||
}
|
||||
@ -65,7 +63,6 @@ namespace dsp {
|
||||
{
|
||||
std::lock_guard<std::mutex> lck(sigMtx);
|
||||
readerStop = true;
|
||||
lck.~lock_guard();
|
||||
}
|
||||
cv.notify_one();
|
||||
}
|
||||
@ -78,7 +75,6 @@ namespace dsp {
|
||||
{
|
||||
std::lock_guard<std::mutex> lck(sigMtx);
|
||||
writerStop = true;
|
||||
lck.~lock_guard();
|
||||
}
|
||||
cv.notify_one();
|
||||
}
|
||||
|
Reference in New Issue
Block a user