mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-24 11:04:10 -04:00
PVS-Studio Analysis corrections for serious issues
This commit is contained in:
@@ -46,9 +46,13 @@ void UDPSinkFECWorker::startWork()
|
||||
qDebug("UDPSinkFECWorker::startWork");
|
||||
m_startWaitMutex.lock();
|
||||
m_udpSocket = new QUdpSocket(this);
|
||||
|
||||
start();
|
||||
while(!m_running)
|
||||
|
||||
while(!m_running) {
|
||||
m_startWaiter.wait(&m_startWaitMutex, 100);
|
||||
}
|
||||
|
||||
m_startWaitMutex.unlock();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user