mirror of
https://github.com/AxioDL/logvisor.git
synced 2025-12-08 13:15:09 +00:00
Compare commits
1 Commits
9420e3007e
...
6926b6a7c9
| Author | SHA1 | Date | |
|---|---|---|---|
|
6926b6a7c9
|
@@ -760,6 +760,7 @@ struct FileLogger : public ILogger {
|
||||
}
|
||||
virtual void closeFile() {
|
||||
if (fp) {
|
||||
std::fflush(fp);
|
||||
std::fclose(fp);
|
||||
fp = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user