1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

LoadTextFile share fix

This commit is contained in:
Brian Fiete 2024-03-02 17:12:37 -05:00
parent 897b1f6fc4
commit 9c1bf60780

View file

@ -164,7 +164,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(filePath, .Read, .Read) case .Err(let fileOpenErr))
if (sr.Open(filePath, .Read, .ReadWrite) case .Err(let fileOpenErr))
{
bool retry = false;
if (autoRetry)