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:
parent
cabb2a419f
commit
d886f2a5f8
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ void
|
|||
FGEnvironmentMgr::shutdown()
|
||||
{
|
||||
globals->get_event_mgr()->removeTask("updateClosestAirport");
|
||||
SGSubsystemGroup::shutdown();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Reference in a new issue