DSPDeviceSourceEngine: stop threaded baseband sample sinks

pull/27/head
f4exb 2016-10-17 22:40:02 +02:00
rodzic 0f7ac00a71
commit 940cfbe94e
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -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();