]> git.mxchange.org Git - flightgear.git/commitdiff
FGIO::shutdown_all() is called from the FGIO destructor so we don't want
authorcurt <curt>
Wed, 29 Dec 2004 20:38:17 +0000 (20:38 +0000)
committercurt <curt>
Wed, 29 Dec 2004 20:38:17 +0000 (20:38 +0000)
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 ...)

src/GUI/gui_funcs.cxx

index 282929f3a6efd49fcf63545ee14f22ae7ccbf285..2764dce3cae3a890d28c482856cd5704cc71b8c9 100644 (file)
@@ -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);
 }