Remote sink channel: corrected destruction from the GUI

pull/328/head
f4exb 2019-04-20 23:28:51 +02:00
rodzic d504b060f9
commit e98d983bff
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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