DSPDeviceSourceEngine: stop threaded baseband sample sinks

This commit is contained in:
f4exb 2016-10-17 22:40:02 +02:00
parent 0f7ac00a71
commit 940cfbe94e
1 changed files with 4 additions and 1 deletions

View File

@ -348,7 +348,10 @@ DSPDeviceSourceEngine::State DSPDeviceSourceEngine::gotoIdle()
(*it)->stop();
}
// TODO: why not stopping the threaded baseband sample sinks?
for(ThreadedBasebandSampleSinks::const_iterator it = m_threadedBasebandSampleSinks.begin(); it != m_threadedBasebandSampleSinks.end(); it++)
{
(*it)->stop();
}
m_deviceSampleSource->stop();
m_deviceDescription.clear();