mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
FT8 support: plan destructor
This commit is contained in:
parent
aaa244974b
commit
c1c64b23e4
@ -33,6 +33,15 @@ QMutex FT8Plans::m_globalPlanMutex;
|
|||||||
FT8Plans::FT8Plans()
|
FT8Plans::FT8Plans()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
FT8Plans::~FT8Plans()
|
||||||
|
{
|
||||||
|
qDebug("FT8::FT8Plans::~FT8Plans: %lu plans to delete", m_plans.size());
|
||||||
|
|
||||||
|
for (auto& plan : m_plans) {
|
||||||
|
delete plan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
FT8Plans *FT8Plans::GetInstance()
|
FT8Plans *FT8Plans::GetInstance()
|
||||||
{
|
{
|
||||||
if (!m_instance) {
|
if (!m_instance) {
|
||||||
|
@ -41,6 +41,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
FT8Plans();
|
FT8Plans();
|
||||||
|
~FT8Plans();
|
||||||
static FT8Plans *m_instance;
|
static FT8Plans *m_instance;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user