mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-23 20:41:13 +00:00
Fix logfiles not being deleted if captured application is the last user
* Previously only the UI itself would delete the log if it was the last thing to close.
This commit is contained in:
3 files changed
+5
-5
No files matched your search
@@ -292,10 +292,10 @@ void rdclog_enableoutput()
|
||||
log_output_enabled = true;
|
||||
}
|
||||
|
||||
void rdclog_closelog(const char *filename)
|
||||
void rdclog_closelog()
|
||||
{
|
||||
log_output_enabled = false;
|
||||
FileIO::logfile_close(logfileHandle, filename);
|
||||
FileIO::logfile_close(logfileHandle, logfile.c_str());
|
||||
}
|
||||
|
||||
void rdclog_flush()
|
||||
|
||||
Reference in new issue
Block a user