Prevent demod from crashing when GUI is destroyed.

This commit is contained in:
srcejon 2023-11-17 17:39:57 +00:00
parent c7436c946f
commit 698cc3cb63
1 changed files with 1 additions and 0 deletions

View File

@ -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;