If "fcache assets" is executed, don't stop with an exception if there's an access violation if another thread is operating on the file at the same time.

Resolves one issue from http://opensimulator.org/mantis/view.php?id=7271
This commit is contained in:
Justin Clark-Casey (justincc)
2014-12-04 01:53:42 +00:00
parent ad91143880
commit 9dbe99af0f

View File

@@ -795,7 +795,7 @@ namespace OpenSim.Region.CoreModules.Asset
if (File.Exists(filename))
{
File.SetLastAccessTime(filename, DateTime.Now);
UpdateFileLastAccessTime(filename);
}
else if (storeUncached)
{
@@ -811,7 +811,6 @@ namespace OpenSim.Region.CoreModules.Asset
});
}
return uniqueUuids.Count;
}