From: mfranz Date: Sat, 10 Jun 2006 22:24:05 +0000 (+0000) Subject: make sure the "nasal" subsystem is one of the last to be removed. That X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c4463b311c646c7ad3930c2f270a6b9a6763a23a;p=flightgear.git make sure the "nasal" subsystem is one of the last to be removed. That way it can still process listener code during shutdown. --- diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 37248c27a..1777b570c 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -1780,7 +1780,7 @@ bool fgInitSubsystems() { // Do this last, so that the loaded scripts see initialized state //////////////////////////////////////////////////////////////////////// FGNasalSys* nasal = new FGNasalSys(); - globals->add_subsystem("nasal", nasal); + globals->add_subsystem("nasal", nasal, SGSubsystemMgr::INIT); nasal->init(); // initialize methods that depend on other subsystems.