DigitalInBlue / Celero

C++ Benchmark Authoring Library/Framework
Other
824 stars 95 forks source link

The output file is not properly closed #104

Closed gggprojects closed 6 years ago

gggprojects commented 7 years ago

The output file is opened in ResultTable.cpp is never closed. It works just because the destructor of the class forces the member ofs to be destroyed forcing the file to be closed. Additionally, because it's a singleton class, this happens in the program exit. This makes impossible to work with the file (if needed) within the same main.