Remote sink channel: corrected destruction from the GUI

This commit is contained in:
f4exb 2019-04-20 23:28:51 +02:00
parent d504b060f9
commit e98d983bff
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ RemoteSinkGUI::RemoteSinkGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Bas
RemoteSinkGUI::~RemoteSinkGUI()
{
m_deviceUISet->removeRxChannelInstance(this);
delete m_remoteSink; // TODO: check this: when the GUI closes it has to delete the demodulator
delete ui;
}