Make sure to close the files left open (on purpose) in ParseFile when we exit...
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.
Showing
- Common/OpenFile.cpp 21 additions, 0 deletionsCommon/OpenFile.cpp
- Parser/Gmsh.tab.cpp 695 additions, 686 deletionsParser/Gmsh.tab.cpp
- Parser/Gmsh.tab.hpp 6 additions, 7 deletionsParser/Gmsh.tab.hpp
- Parser/Gmsh.y 8 additions, 7 deletionsParser/Gmsh.y
- Parser/Gmsh.yy.cpp 29 additions, 44 deletionsParser/Gmsh.yy.cpp
Loading
Please register or sign in to comment