Commit bc0c1277 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix bug 0003250: Reset logs button not working.

The file needs to be closed to be removed on Windows.
parent 8d21acd7
......@@ -713,6 +713,7 @@ char * linphone_core_compress_log_collection(void) {
void linphone_core_reset_log_collection(void) {
char *filename;
ortp_mutex_lock(&liblinphone_log_collection_mutex);
_close_log_collection_file();
clean_log_collection_upload_context(NULL);
filename = ms_strdup_printf("%s/%s1.log",
liblinphone_log_collection_path ? liblinphone_log_collection_path : LOG_COLLECTION_DEFAULT_PATH,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment