[FIX] Enable FileShare
This commit is contained in:
parent
3cb47e071e
commit
f389c27024
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ public class Logger
|
||||||
if (filePath is not "")
|
if (filePath is not "")
|
||||||
{
|
{
|
||||||
FileName = filePath;
|
FileName = filePath;
|
||||||
OpenedFile = File.Open(FileName, FileMode.Append);
|
OpenedFile = File.Open(FileName, FileMode.CreateNew, FileAccess.ReadWrite, FileShare.Read);
|
||||||
}
|
}
|
||||||
|
|
||||||
loggerStarted = true;
|
loggerStarted = true;
|
||||||
|
|
|
||||||
Reference in a new issue