mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-07-12 05:44:08 -04:00
Fix demodulator termination / thread lock
This commit is contained in:
@@ -31,7 +31,7 @@ void DemodulatorWorkerThread::threadMain() {
|
||||
done = commandQueue->empty();
|
||||
}
|
||||
|
||||
if (filterChanged) {
|
||||
if (filterChanged && !terminated) {
|
||||
DemodulatorWorkerThreadResult result(DemodulatorWorkerThreadResult::DEMOD_WORKER_THREAD_RESULT_FILTERS);
|
||||
|
||||
result.iqResampleRatio = (double) (filterCommand.bandwidth) / (double) filterCommand.sampleRate;
|
||||
|
||||
Reference in New Issue
Block a user