summaryrefslogtreecommitdiff
path: root/drivers/windows
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-05-03 14:31:35 +0200
committerGitHub <noreply@github.com>2018-05-03 14:31:35 +0200
commit12c60eba19fbb6971ea0ffa2cf8312ad42e84d65 (patch)
tree3b9375b0198be255952f5147ab2840d67e589bdd /drivers/windows
parent2e474f42b8183bc1f8255307f4c662a3cbc49135 (diff)
parentcaa887f3176b824b37c37e37e147114dc897af5b (diff)
Merge pull request #18588 from profan/fix/win-rename-sleep
Fix delay in rename_error windows save loop, should be 100msec, not 1sec
Diffstat (limited to 'drivers/windows')
-rw-r--r--drivers/windows/file_access_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp
index 88ed8b27b4..aa0fd34e0a 100644
--- a/drivers/windows/file_access_windows.cpp
+++ b/drivers/windows/file_access_windows.cpp
@@ -162,7 +162,7 @@ void FileAccessWindows::close() {
}
if (rename_error) {
attempts--;
- OS::get_singleton()->delay_usec(1000000); //wait 100msec and try again
+ OS::get_singleton()->delay_usec(100000); // wait 100msec and try again
}
}