1
0
Fork 0

Make EnvironmentMgr shutdown its subsystems.

With this change, Environment subsystem can be removed and re-added at runtime using the factory commands.
This commit is contained in:
James Turner 2012-11-20 12:31:07 +00:00
parent cabb2a419f
commit d886f2a5f8

View file

@ -158,6 +158,7 @@ void
FGEnvironmentMgr::shutdown()
{
globals->get_event_mgr()->removeTask("updateClosestAirport");
SGSubsystemGroup::shutdown();
}
void