mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 17:41:34 +08:00
comment
This commit is contained in:
parent
b9180f8f5a
commit
4e9fafac75
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user