Forked from
gmsh / gmsh
Source project has a limited visibility.
-
Christophe Geuzaine authored
Make sure to close the files left open (on purpose) in ParseFile when we exit OpenProject or when we call ClearProject. Leaving the files open can lead to file handle exhaustion, e.g. with onelab when remeshing several hundred times. This then leads to unpredictable socket errors.
Christophe Geuzaine authoredMake sure to close the files left open (on purpose) in ParseFile when we exit OpenProject or when we call ClearProject. Leaving the files open can lead to file handle exhaustion, e.g. with onelab when remeshing several hundred times. This then leads to unpredictable socket errors.