mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Prevent demod from crashing when GUI is destroyed.
This commit is contained in:
parent
c7436c946f
commit
698cc3cb63
@ -520,6 +520,7 @@ M17DemodGUI::M17DemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
||||
|
||||
M17DemodGUI::~M17DemodGUI()
|
||||
{
|
||||
m_m17Demod->setScopeXYSink(nullptr);
|
||||
delete m_scopeVisXY;
|
||||
ui->screenTV->setParent(nullptr); // Prefer memory leak to core dump... ~TVScreen() is buggy
|
||||
delete ui;
|
||||
|
Loading…
Reference in New Issue
Block a user