From: curt Date: Wed, 29 Dec 2004 20:38:17 +0000 (+0000) Subject: FGIO::shutdown_all() is called from the FGIO destructor so we don't want X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3ad6d87576f71ee1fa127a65a355f8d79f5e5fbd;p=flightgear.git FGIO::shutdown_all() is called from the FGIO destructor so we don't want a seperate explicite call or the io channels will be forced to try to shutdown twice which could cause problems for some IO modules (i.e. attempting to close an invalid file descriptor the second time ...) --- diff --git a/src/GUI/gui_funcs.cxx b/src/GUI/gui_funcs.cxx index 282929f3a..2764dce3c 100644 --- a/src/GUI/gui_funcs.cxx +++ b/src/GUI/gui_funcs.cxx @@ -385,9 +385,6 @@ void goodBye(puObject *) // "Program exiting normally at user request." ); cout << "Program exiting normally at user request." << endl; - // close all external I/O connections - globals->get_io()->shutdown_all(); - exit(0); }