Skip to content

Commit 6cc7a48

Browse files
committed
Ensured that abaqus file reader always closes file.
1 parent 7cdba87 commit 6cc7a48

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Abaqus/AbaqusImport.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,12 @@ bool AbaqusImport::Load(const char* szfile)
196196
}
197197
catch (...)
198198
{
199+
Close();
199200
return false;
200201
}
201202

203+
Close();
204+
202205
// build the model
203206
if (build_model() == false) return false;
204207

0 commit comments

Comments
 (0)