summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/src/logger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_core/src/logger.cpp b/src/mir_core/src/logger.cpp
index 0dccb53f9f..24240d691d 100644
--- a/src/mir_core/src/logger.cpp
+++ b/src/mir_core/src/logger.cpp
@@ -101,6 +101,7 @@ MIR_CORE_DLL(HANDLE) mir_createLog(const char* pszName, const wchar_t *ptszDescr
}
CreatePathToFileW(ptszFile);
+ _wremove(ptszFile);
arLoggers.insert(result);
return result;
}