1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-02-03 09:44:01 -05:00

Merge pull request #916 from ChiefGokhlayeh/bugfix/#915-segmentation-fault-when-closing-ads-b-panel-while-sampling-device-is-still-running

Delete ADSBDemod::m_worker after removing sink from DSP
This commit is contained in:
Edouard Griffiths 2021-06-05 07:17:24 +02:00 committed by GitHub
commit eb811c1e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,11 +83,11 @@ ADSBDemod::~ADSBDemod()
if (m_worker->isRunning()) {
stop();
}
delete m_worker;
disconnect(m_networkManager, SIGNAL(finished(QNetworkReply*)), this, SLOT(networkManagerFinished(QNetworkReply*)));
delete m_networkManager;
m_deviceAPI->removeChannelSinkAPI(this);
m_deviceAPI->removeChannelSink(this);
delete m_worker;
delete m_basebandSink;
delete m_thread;
}