From: James Turner Date: Thu, 9 Jun 2016 10:04:24 +0000 (+0100) Subject: Explicitly shut down logging X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fb763445855aad5e367cdcd8b10d7c10902a3422;p=flightgear.git Explicitly shut down logging - needed to call FreeConsole on Windows. --- 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(); }