Fix file access violation on Flotsam cache
Thanks mcortez
remotes/origin/0.6.7-post-fixes
Justin Clark-Casey (justincc) 2009-08-27 21:25:16 +01:00
parent 6f077d5e5f
commit 40fbdaaac4
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ namespace Flotsam.RegionModules.AssetCache
{
try
{
FileStream stream = File.Open(filename, FileMode.Open);
FileStream stream = File.Open(filename, FileMode.Open, FileAccess.Read, FileShare.Read);
BinaryFormatter bformatter = new BinaryFormatter();
asset = (AssetBase)bformatter.Deserialize(stream);