This commit is contained in:
gabime 2018-07-10 14:35:54 +03:00
parent b9180f8f5a
commit 4e9fafac75
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ private:
if (details::file_helper::file_exists(src) && details::os::rename(src, target) != 0)
{
// if failed try again after small delay.
// this is a workaround to a windows issue, where on high rotation rates the rename fails sometimes (because of antivirus?).
// this is a workaround to a windows issue, where very high rotation rates sometimes fail (because of antivirus?).
details::os::sleep_for_millis(20);
details::os::remove(target);
if (details::os::rename(src, target) != 0)