Fix crash when quitting sdrangel when the SID window is open

Fixes a stack exhaustion that happens in some machines/compiler combinations.
Fixes #2119
pull/2121/head
Daniele Forsi 2024-05-22 23:32:13 +02:00
rodzic 3fc3a976b3
commit db57a7853b
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -292,7 +292,11 @@ SIDGUI::~SIDGUI()
clearFromMap();
delete m_goesXRay;
delete m_solarDynamicsObservatory;
if (m_solarDynamicsObservatory)
{
delete m_player;
delete m_solarDynamicsObservatory;
}
delete ui;
}