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 ...)
This commit is contained in:
parent
982c9e20be
commit
3ad6d87576
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue