1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

Massive UI revamping (v7): DSDDemod and DATVDemod: Prefer memory leak to core dump as TVScreen destructor is buggy

This commit is contained in:
f4exb 2022-04-14 13:14:44 +02:00
parent 8a3d2bd497
commit 98a3a76ca1
2 changed files with 2 additions and 0 deletions

View File

@ -302,6 +302,7 @@ DATVDemodGUI::DATVDemodGUI(PluginAPI* objPluginAPI, DeviceUISet *deviceUISet, Ba
DATVDemodGUI::~DATVDemodGUI() DATVDemodGUI::~DATVDemodGUI()
{ {
ui->screenTV->setParent(nullptr); // Prefer memory leak to core dump... ~TVScreen() is buggy
delete ui; delete ui;
} }

View File

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