Skip to content

Commit

Permalink
Prevent demod from crashing when GUI is destroyed.
Browse files Browse the repository at this point in the history
  • Loading branch information
srcejon committed Nov 17, 2023
1 parent c7436c9 commit 698cc3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/channelrx/demodm17/m17demodgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 698cc3c

Please sign in to comment.