From fb763445855aad5e367cdcd8b10d7c10902a3422 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 9 Jun 2016 11:04:24 +0100 Subject: [PATCH] Explicitly shut down logging - needed to call FreeConsole on Windows. --- src/Main/bootstrap.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Main/bootstrap.cxx b/src/Main/bootstrap.cxx index 050292259..e389f457e 100644 --- a/src/Main/bootstrap.cxx +++ b/src/Main/bootstrap.cxx @@ -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(); } -- 2.39.5