mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed invalid stream write after a FileStream open error
This commit is contained in:
parent
e209f7ac66
commit
fd5756a93b
1 changed files with 2 additions and 1 deletions
|
@ -439,7 +439,8 @@ void BfCodeGenThread::RunLoop()
|
||||||
errorMsg += "\n";
|
errorMsg += "\n";
|
||||||
errorMsg += "Failed writing IR '" + fileName + "': " + ec.message();
|
errorMsg += "Failed writing IR '" + fileName + "': " + ec.message();
|
||||||
}
|
}
|
||||||
fs.WriteSNZ(str);
|
else
|
||||||
|
fs.WriteSNZ(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hasCacheMatch)
|
if (!hasCacheMatch)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue