1
0
Fork 0

make sure the "nasal" subsystem is one of the last to be removed. That

way it can still process listener code during shutdown.
This commit is contained in:
mfranz 2006-06-10 22:24:05 +00:00
parent 00f3d1db80
commit c4463b311c

View file

@ -1780,7 +1780,7 @@ bool fgInitSubsystems() {
// Do this last, so that the loaded scripts see initialized state // Do this last, so that the loaded scripts see initialized state
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
FGNasalSys* nasal = new FGNasalSys(); FGNasalSys* nasal = new FGNasalSys();
globals->add_subsystem("nasal", nasal); globals->add_subsystem("nasal", nasal, SGSubsystemMgr::INIT);
nasal->init(); nasal->init();
// initialize methods that depend on other subsystems. // initialize methods that depend on other subsystems.