فهرست منبع

Fix delay in rename_error windows save loop, should be 100msec, not 1sec

Robin Hübner 7 سال پیش
والد
کامیت
caa887f317
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      drivers/windows/file_access_windows.cpp

+ 1 - 1
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
 			}
 		}