Browse Source

Fix reentrancy of logger.

tags/v2.0.0
Andrew Belt 5 years ago
parent
commit
72493c6b51
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/logger.cpp

+ 1
- 0
src/logger.cpp View File

@@ -34,6 +34,7 @@ void destroy() {
std::fprintf(outputFile, "END"); std::fprintf(outputFile, "END");
std::fclose(outputFile); std::fclose(outputFile);
} }
outputFile = NULL;
} }


static const char* const levelLabels[] = { static const char* const levelLabels[] = {


Loading…
Cancel
Save