mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user