1
0
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:
f4exb
2018-11-18 09:39:22 +01:00
parent bc50bf9afa
commit 059228e39f
12 changed files with 48 additions and 26 deletions
@@ -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();
}