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:32:13 +02:00
parent 3fc3a976b3
commit db57a7853b
1 changed files with 5 additions and 1 deletions

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;
}