]> git.mxchange.org Git - flightgear.git/commitdiff
Explicitly shut down logging
authorJames Turner <zakalawe@mac.com>
Thu, 9 Jun 2016 10:04:24 +0000 (11:04 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:36 +0000 (23:27 +0200)
- needed to call FreeConsole on Windows.

src/Main/bootstrap.cxx

index 05029225928a5c166a129e3d8150a4cc888ae757..e389f457ed4ec0fb8ed096749247fe1f82f525f0 100644 (file)
@@ -282,5 +282,7 @@ void fgExitCleanup() {
     // on the common exit path globals is already deleted, and NULL,
     // so this only happens on error paths.
     delete globals;
+
+    simgear::shutdownLogging();
 }