Coverity: fix high impact issues
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user