Reset: ATIS shutdown fix
This commit is contained in:
parent
41eaa58c13
commit
e008f610d1
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue