1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 12:51:49 -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()) {
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;
}