mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Corlib additions
This commit is contained in:
parent
b756fe50eb
commit
788351e178
4 changed files with 251 additions and 9 deletions
|
@ -165,7 +165,7 @@ namespace Beefy
|
|||
// Retry for a while if the other side is still writing out the file
|
||||
for (int i = 0; i < 100; i++)
|
||||
{
|
||||
if (sr.Open(fileName) case .Err(let fileOpenErr))
|
||||
if (sr.Open(fileName, .Read, .Read) case .Err(let fileOpenErr))
|
||||
{
|
||||
bool retry = false;
|
||||
if (autoRetry)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue