mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 08:39:20 +00:00
Fix bug 0003250: Reset logs button not working.
The file needs to be closed to be removed on Windows.
This commit is contained in:
parent
8d21acd7f0
commit
bc0c127752
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue