1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00

Device GUIs: Stop timers in destructors.

This commit is contained in:
Jon Beniston 2022-10-05 15:40:09 +01:00
parent ed0c669f5e
commit d6a02f659a
34 changed files with 66 additions and 1 deletions

View File

@ -65,6 +65,7 @@ AudioOutputGui::AudioOutputGui(DeviceUISet *deviceUISet, QWidget* parent) :
AudioOutputGui::~AudioOutputGui()
{
m_updateTimer.stop();
delete ui;
}

View File

@ -76,6 +76,8 @@ Bladerf1OutputGui::Bladerf1OutputGui(DeviceUISet *deviceUISet, QWidget* parent)
Bladerf1OutputGui::~Bladerf1OutputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -91,6 +91,8 @@ BladeRF2OutputGui::BladeRF2OutputGui(DeviceUISet *deviceUISet, QWidget* parent)
BladeRF2OutputGui::~BladeRF2OutputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -83,6 +83,8 @@ FileOutputGui::FileOutputGui(DeviceUISet *deviceUISet, QWidget* parent) :
FileOutputGui::~FileOutputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -74,6 +74,8 @@ HackRFOutputGui::HackRFOutputGui(DeviceUISet *deviceUISet, QWidget* parent) :
HackRFOutputGui::~HackRFOutputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -101,6 +101,8 @@ LimeSDROutputGUI::LimeSDROutputGUI(DeviceUISet *deviceUISet, QWidget* parent) :
LimeSDROutputGUI::~LimeSDROutputGUI()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -87,6 +87,8 @@ LocalOutputGui::LocalOutputGui(DeviceUISet *deviceUISet, QWidget* parent) :
LocalOutputGui::~LocalOutputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -86,6 +86,8 @@ PlutoSDROutputGUI::PlutoSDROutputGUI(DeviceUISet *deviceUISet, QWidget* parent)
PlutoSDROutputGUI::~PlutoSDROutputGUI()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -96,6 +96,8 @@ RemoteOutputSinkGui::RemoteOutputSinkGui(DeviceUISet *deviceUISet, QWidget* pare
RemoteOutputSinkGui::~RemoteOutputSinkGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -107,6 +107,8 @@ SoapySDROutputGui::SoapySDROutputGui(DeviceUISet *deviceUISet, QWidget* parent)
SoapySDROutputGui::~SoapySDROutputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -84,6 +84,8 @@ TestSinkGui::TestSinkGui(DeviceUISet *deviceUISet, QWidget* parent) :
TestSinkGui::~TestSinkGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -84,6 +84,8 @@ XTRXOutputGUI::XTRXOutputGUI(DeviceUISet *deviceUISet, QWidget* parent) :
XTRXOutputGUI::~XTRXOutputGUI()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -73,7 +73,9 @@ AirspyGui::AirspyGui(DeviceUISet *deviceUISet, QWidget* parent) :
AirspyGui::~AirspyGui()
{
delete ui;
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}
void AirspyGui::destroy()

View File

@ -72,6 +72,8 @@ AirspyHFGui::AirspyHFGui(DeviceUISet *deviceUISet, QWidget* parent) :
AirspyHFGui::~AirspyHFGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -60,6 +60,7 @@ AudioInputGui::AudioInputGui(DeviceUISet *deviceUISet, QWidget* parent) :
AudioInputGui::~AudioInputGui()
{
m_updateTimer.stop();
delete ui;
}

View File

@ -82,6 +82,8 @@ Bladerf1InputGui::Bladerf1InputGui(DeviceUISet *deviceUISet, QWidget* parent) :
Bladerf1InputGui::~Bladerf1InputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -104,6 +104,8 @@ BladeRF2InputGui::BladeRF2InputGui(DeviceUISet *deviceUISet, QWidget* parent) :
BladeRF2InputGui::~BladeRF2InputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -162,6 +162,8 @@ FCDProGui::FCDProGui(DeviceUISet *deviceUISet, QWidget* parent) :
FCDProGui::~FCDProGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -80,6 +80,8 @@ FCDProPlusGui::FCDProPlusGui(DeviceUISet *deviceUISet, QWidget* parent) :
FCDProPlusGui::~FCDProPlusGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -85,6 +85,7 @@ FileInputGUI::FileInputGUI(DeviceUISet *deviceUISet, QWidget* parent) :
FileInputGUI::~FileInputGUI()
{
qDebug("FileInputGUI::~FileInputGUI");
m_statusTimer.stop();
delete ui;
qDebug("FileInputGUI::~FileInputGUI: end");
}

View File

@ -78,6 +78,8 @@ HackRFInputGui::HackRFInputGui(DeviceUISet *deviceUISet, QWidget* parent) :
HackRFInputGui::~HackRFInputGui()
{
qDebug("HackRFInputGui::~HackRFInputGui");
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
qDebug("HackRFInputGui::~HackRFInputGui: end");
}

View File

@ -107,6 +107,8 @@ LimeSDRInputGUI::LimeSDRInputGUI(DeviceUISet *deviceUISet, QWidget* parent) :
LimeSDRInputGUI::~LimeSDRInputGUI()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -100,6 +100,8 @@ LocalInputGui::LocalInputGui(DeviceUISet *deviceUISet, QWidget* parent) :
LocalInputGui::~LocalInputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -70,6 +70,8 @@ PerseusGui::PerseusGui(DeviceUISet *deviceUISet, QWidget* parent) :
PerseusGui::~PerseusGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -88,6 +88,8 @@ PlutoSDRInputGui::PlutoSDRInputGui(DeviceUISet *deviceUISet, QWidget* parent) :
PlutoSDRInputGui::~PlutoSDRInputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -105,6 +105,9 @@ RemoteInputGui::RemoteInputGui(DeviceUISet *deviceUISet, QWidget* parent) :
RemoteInputGui::~RemoteInputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
m_remoteUpdateTimer.stop();
delete ui;
}

View File

@ -92,6 +92,8 @@ RemoteTCPInputGui::RemoteTCPInputGui(DeviceUISet *deviceUISet, QWidget* parent)
RemoteTCPInputGui::~RemoteTCPInputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -89,6 +89,8 @@ SDRPlayGui::SDRPlayGui(DeviceUISet *deviceUISet, QWidget* parent) :
SDRPlayGui::~SDRPlayGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -125,6 +125,8 @@ SDRPlayV3Gui::SDRPlayV3Gui(DeviceUISet *deviceUISet, QWidget* parent) :
SDRPlayV3Gui::~SDRPlayV3Gui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -99,6 +99,7 @@ SigMFFileInputGUI::SigMFFileInputGUI(DeviceUISet *deviceUISet, QWidget* parent)
SigMFFileInputGUI::~SigMFFileInputGUI()
{
m_statusTimer.stop();
delete ui;
}

View File

@ -109,6 +109,8 @@ SoapySDRInputGui::SoapySDRInputGui(DeviceUISet *deviceUISet, QWidget* parent) :
SoapySDRInputGui::~SoapySDRInputGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -81,6 +81,8 @@ TestSourceGui::TestSourceGui(DeviceUISet *deviceUISet, QWidget* parent) :
TestSourceGui::~TestSourceGui()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -95,6 +95,8 @@ USRPInputGUI::USRPInputGUI(DeviceUISet *deviceUISet, QWidget* parent) :
USRPInputGUI::~USRPInputGUI()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}

View File

@ -87,6 +87,8 @@ XTRXInputGUI::XTRXInputGUI(DeviceUISet *deviceUISet, QWidget* parent) :
XTRXInputGUI::~XTRXInputGUI()
{
m_statusTimer.stop();
m_updateTimer.stop();
delete ui;
}