mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 01:18:38 -05:00
parent
cb4651af0b
commit
f03499a9a3
@ -105,8 +105,8 @@ ADSBDemod::~ADSBDemod()
|
|||||||
delete m_networkManager;
|
delete m_networkManager;
|
||||||
m_deviceAPI->removeChannelSinkAPI(this);
|
m_deviceAPI->removeChannelSinkAPI(this);
|
||||||
m_deviceAPI->removeChannelSink(this);
|
m_deviceAPI->removeChannelSink(this);
|
||||||
|
delete m_basebandSink; // This results in a call to ADSBDemod::stop(), so need to delete before worker and thread
|
||||||
delete m_worker;
|
delete m_worker;
|
||||||
delete m_basebandSink;
|
|
||||||
delete m_thread;
|
delete m_thread;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5113,6 +5113,7 @@ ADSBDemodGUI::ADSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
|
|||||||
|
|
||||||
ADSBDemodGUI::~ADSBDemodGUI()
|
ADSBDemodGUI::~ADSBDemodGUI()
|
||||||
{
|
{
|
||||||
|
m_adsbDemod->setMessageQueueToGUI(nullptr);
|
||||||
disconnect(&MainCore::instance()->getSettings(), &MainSettings::preferenceChanged, this, &ADSBDemodGUI::preferenceChanged);
|
disconnect(&MainCore::instance()->getSettings(), &MainSettings::preferenceChanged, this, &ADSBDemodGUI::preferenceChanged);
|
||||||
if (m_templateServer)
|
if (m_templateServer)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user