Fix crash when quitting sdrangel when the SID window is open

Fixes a stack exhaustion that happens in some machines/compiler combinations.
Fixes #2119
This commit is contained in:
Daniele Forsi
2024-05-22 23:40:00 +02:00
parent 3fc3a976b3
commit db57a7853b
+5 -1
View File
@@ -292,7 +292,11 @@ SIDGUI::~SIDGUI()
clearFromMap();
delete m_goesXRay;
delete m_solarDynamicsObservatory;
if (m_solarDynamicsObservatory)
{
delete m_player;
delete m_solarDynamicsObservatory;
}
delete ui;
}