From: curt Date: Wed, 4 Oct 2000 20:49:44 +0000 (+0000) Subject: Close all iochannel connections on exit. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3dde95059da70143d6eabc5d90e1332d3c1e7661;p=flightgear.git Close all iochannel connections on exit. --- diff --git a/src/GUI/gui.cxx b/src/GUI/gui.cxx index f5bd04092..8fd6545d3 100644 --- a/src/GUI/gui.cxx +++ b/src/GUI/gui.cxx @@ -66,6 +66,7 @@ #include #include
#include
+#include
#include
#include
#include
@@ -759,10 +760,10 @@ void goodBye(puObject *) } #endif - // if(gps_bug) - // fclose(gps_bug); + // close all external I/O connections + fgIOShutdownAll(); - exit(-1); + exit(0); }