1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00

Fix DSD Demod crash on exit for #1617.

This commit is contained in:
Jon Beniston 2023-03-06 16:16:28 +00:00
parent 1b2162d88f
commit bb661981ba

View File

@ -433,6 +433,7 @@ DSDDemodGUI::DSDDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
DSDDemodGUI::~DSDDemodGUI() DSDDemodGUI::~DSDDemodGUI()
{ {
m_dsdDemod->setScopeXYSink(nullptr);
delete m_scopeVisXY; delete m_scopeVisXY;
ui->screenTV->setParent(nullptr); // Prefer memory leak to core dump... ~TVScreen() is buggy ui->screenTV->setParent(nullptr); // Prefer memory leak to core dump... ~TVScreen() is buggy
delete ui; delete ui;