Coverity: fix high impact issues

This commit is contained in:
wmayer
2016-08-17 15:33:04 +02:00
parent cc97241969
commit 8bd18797c4
6 changed files with 12 additions and 9 deletions

View File

@@ -138,8 +138,12 @@ int main( int argc, char ** argv )
// Destruction phase ===========================================================
Console().Log("FreeCAD terminating...\n");
// close open documents
App::GetApplication().closeAllDocuments();
try {
// close open documents
App::GetApplication().closeAllDocuments();
}
catch(...) {
}
// cleans up
Application::destruct();