Multi device support: fixed core dump (seg fault) brutally by commenting out failing instruction (disconnect)

This commit is contained in:
f4exb 2016-05-20 00:49:55 +02:00
parent 1c9b4ef1c9
commit e935716568
1 changed files with 4 additions and 4 deletions

View File

@ -479,10 +479,10 @@ void DSPDeviceEngine::handleSetSource(SampleSource* source)
{
gotoIdle();
if(m_sampleSource != 0)
{
disconnect(m_sampleSource->getSampleFifo(), SIGNAL(dataReady()), this, SLOT(handleData()));
}
// if(m_sampleSource != 0)
// {
// disconnect(m_sampleSource->getSampleFifo(), SIGNAL(dataReady()), this, SLOT(handleData()));
// }
m_sampleSource = source;