1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 21:01:45 -05:00

Delete m_worker after removing sink from DSP

This commit is contained in:
Andreas Baulig 2021-06-04 23:32:48 +00:00
parent 3e9b4a4dee
commit c6571ac424
No known key found for this signature in database
GPG Key ID: 5225DCE5A4A2EE20

View File

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