]> git.mxchange.org Git - flightgear.git/commitdiff
close Nasal/ dir after reading *.nas files
authormfranz <mfranz>
Mon, 13 Mar 2006 19:47:22 +0000 (19:47 +0000)
committermfranz <mfranz>
Mon, 13 Mar 2006 19:47:22 +0000 (19:47 +0000)
src/Scripting/NasalSys.cxx

index ae3d51631cb044b2576b4209a990f6d0967e215f..dcdf9fe493dfa3f51fe8f95d42634b7c8a7d1857 100644 (file)
@@ -387,6 +387,7 @@ void FGNasalSys::init()
         if(file.extension() != "nas") continue;
         loadModule(fullpath, file.base().c_str());
     }
+    ulCloseDir(dir);
 
     // Pull scripts out of the property tree, too
     loadPropertyScripts();