1
0
Fork 0

Merge branch 'next' of git://gitorious.org/fg/flightgear into next

This commit is contained in:
ThorstenB 2010-10-23 20:34:18 +02:00
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

View file

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