FIX: [STUDIO-2235] FlushFileBuffers on conf bak

Change-Id: I26ddf05c8b7105bb9226930e64a736cdc9be4e4f
This commit is contained in:
chunmao.guo 2023-03-27 19:13:06 +08:00 committed by Lane.Wei
parent 97179d1378
commit 8747192715
2 changed files with 15 additions and 13 deletions

View file

@ -897,6 +897,8 @@ CopyFileResult copy_file(const std::string &from, const std::string &to, std::st
goto __finished;
}
FlushFileBuffers(handledst);
__finished:
if (src_wstr)
delete[] src_wstr;