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

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

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