mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 06:54:39 -04:00
Remote source: corrected worker handling
This commit is contained in:
@@ -35,7 +35,9 @@ RemoteSourceSource::RemoteSourceSource() :
|
||||
}
|
||||
|
||||
RemoteSourceSource::~RemoteSourceSource()
|
||||
{}
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
void RemoteSourceSource::pull(SampleVector::iterator begin, unsigned int nbSamples)
|
||||
{
|
||||
@@ -105,7 +107,7 @@ void RemoteSourceSource::stop()
|
||||
{
|
||||
stopWorker();
|
||||
m_sourceWorker->deleteLater();
|
||||
m_sourceWorker = 0;
|
||||
m_sourceWorker = nullptr;
|
||||
}
|
||||
|
||||
m_running = false;
|
||||
@@ -276,4 +278,4 @@ void RemoteSourceSource::applyChannelSettings(int channelSampleRate, bool force)
|
||||
}
|
||||
|
||||
m_channelSampleRate = channelSampleRate;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user