Avoid segfault on shutdown
Fixes double-delete of old ATC manager.
This commit is contained in:
parent
93f9b471e6
commit
1e184bb0f4
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ FGATCMgr::FGATCMgr() :
|
|||
}
|
||||
|
||||
FGATCMgr::~FGATCMgr() {
|
||||
globals->set_ATC_mgr(NULL);
|
||||
delete v1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue