Merge branch 'next' of git://gitorious.org/fg/flightgear into next
This commit is contained in:
commit
bdb912637e
3 changed files with 4427 additions and 4378 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -166,8 +166,9 @@ FGGlobals::~FGGlobals()
|
|||
// deallocation of AIModel objects. To ensure we can safely
|
||||
// shut down all subsystems, make sure we take down the
|
||||
// AIModels system first.
|
||||
subsystem_mgr->get_group(SGSubsystemMgr::GENERAL)->remove_subsystem("ai_model");
|
||||
|
||||
SGSubsystem* ai = subsystem_mgr->remove("ai_model");
|
||||
delete ai;
|
||||
|
||||
subsystem_mgr->unbind();
|
||||
delete subsystem_mgr;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue