Yengine: only retry compile if there was a object file in cache with wrong version or signature

This commit is contained in:
UbitUmarov
2018-03-09 22:44:58 +00:00
parent 2dc49dc1e9
commit 2369ce413d
4 changed files with 6 additions and 18 deletions

View File

@@ -124,13 +124,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
finally
{
// In case something went wrong writing temp file, delete it.
try
{
File.Delete (tmpFileName);
}
catch
{
}
File.Delete (tmpFileName);
}
// Since we just wrote the .xmrobj file, maybe save disassembly.