1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -04:00

Audio input and KiwiSDR: correct placement of m_running = false

This commit is contained in:
f4exb
2022-10-08 13:20:45 +02:00
parent 17d5f14cac
commit 59127ea4e2
2 changed files with 2 additions and 3 deletions
@@ -167,6 +167,7 @@ void AudioInput::stop()
}
qDebug("AudioInput::stop");
m_running = false;
if (m_workerThread)
{
@@ -176,7 +177,6 @@ void AudioInput::stop()
m_worker = nullptr;
}
m_running = false;
}
QByteArray AudioInput::serialize() const
@@ -128,6 +128,7 @@ void KiwiSDRInput::stop()
return;
}
m_running = false;
setWorkerStatus(0);
if (m_kiwiSDRWorkerThread)
@@ -137,8 +138,6 @@ void KiwiSDRInput::stop()
m_kiwiSDRWorker = nullptr;
m_kiwiSDRWorkerThread = nullptr;
}
m_running = false;
}
QByteArray KiwiSDRInput::serialize() const