From e867befd469253c706215e6bee637c720477ef1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20H=C3=BCbner?= Date: Thu, 3 May 2018 13:22:11 +0200 Subject: [PATCH] Fix delay in rename_error windows save loop, should be 100msec, not 1sec (cherry picked from commit caa887f3176b824b37c37e37e147114dc897af5b) --- drivers/windows/file_access_windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp index d391f1d89e6..457bd1bc0a8 100644 --- a/drivers/windows/file_access_windows.cpp +++ b/drivers/windows/file_access_windows.cpp @@ -141,7 +141,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 } }