Jelajahi Sumber

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

Robin Hübner 7 tahun lalu
induk
melakukan
caa887f317
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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) {
 			if (rename_error) {
 				attempts--;
 				attempts--;
-				OS::get_singleton()->delay_usec(1000000); //wait 100msec and try again
+				OS::get_singleton()->delay_usec(100000); // wait 100msec and try again
 			}
 			}
 		}
 		}