1
0
Fork 0

Reset: ATIS shutdown fix

This commit is contained in:
James Turner 2013-11-11 10:11:54 +00:00
parent 41eaa58c13
commit e008f610d1

View file

@ -47,10 +47,8 @@ FGATISMgr::~FGATISMgr()
{ {
globals->set_ATIS_mgr(NULL); globals->set_ATIS_mgr(NULL);
for (unsigned int unit = 0;unit < _maxCommRadios; ++unit) for (unsigned int unit = 0;unit < radios.size(); ++unit) {
{
delete radios[unit]; delete radios[unit];
radios[unit] = NULL;
} }
#ifdef ENABLE_AUDIO_SUPPORT #ifdef ENABLE_AUDIO_SUPPORT