From c4463b311c646c7ad3930c2f270a6b9a6763a23a Mon Sep 17 00:00:00 2001 From: mfranz Date: Sat, 10 Jun 2006 22:24:05 +0000 Subject: [PATCH] make sure the "nasal" subsystem is one of the last to be removed. That way it can still process listener code during shutdown. --- src/Main/fg_init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5