Update svn properties, minor formatting cleanup.
parent
d145700115
commit
5276c4bdf8
|
@ -177,7 +177,7 @@ namespace OpenSim.Framework.Communications.Cache
|
||||||
public bool TryGetCachedAsset(UUID assetId, out AssetBase asset)
|
public bool TryGetCachedAsset(UUID assetId, out AssetBase asset)
|
||||||
{
|
{
|
||||||
Object tmp;
|
Object tmp;
|
||||||
if(m_memcache.TryGet(assetId, out tmp))
|
if (m_memcache.TryGet(assetId, out tmp))
|
||||||
{
|
{
|
||||||
asset = (AssetBase)tmp;
|
asset = (AssetBase)tmp;
|
||||||
//m_log.Info("Retrieved from cache " + assetId);
|
//m_log.Info("Retrieved from cache " + assetId);
|
||||||
|
@ -337,7 +337,7 @@ namespace OpenSim.Framework.Communications.Cache
|
||||||
// in the 2 caches differently. Also, locks are probably
|
// in the 2 caches differently. Also, locks are probably
|
||||||
// needed in all of this, or move to synchronized non
|
// needed in all of this, or move to synchronized non
|
||||||
// generic forms for Dictionaries.
|
// generic forms for Dictionaries.
|
||||||
if(m_memcache.Contains(uuid))
|
if (m_memcache.Contains(uuid))
|
||||||
{
|
{
|
||||||
m_memcache.Remove(uuid);
|
m_memcache.Remove(uuid);
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,7 @@ namespace OpenSim.Region.Environment
|
||||||
}
|
}
|
||||||
} catch (ReflectionTypeLoadException e)
|
} catch (ReflectionTypeLoadException e)
|
||||||
{
|
{
|
||||||
foreach(Exception e2 in e.LoaderExceptions)
|
foreach (Exception e2 in e.LoaderExceptions)
|
||||||
{
|
{
|
||||||
m_log.Error(e2.ToString());
|
m_log.Error(e2.ToString());
|
||||||
}
|
}
|
||||||
|
|
|
@ -1828,7 +1828,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
|
|
||||||
// Serialise calls to RemoveScriptInstances to avoid
|
// Serialise calls to RemoveScriptInstances to avoid
|
||||||
// deadlocking on m_parts inside SceneObjectGroup
|
// deadlocking on m_parts inside SceneObjectGroup
|
||||||
lock (m_deleting_scene_object) {
|
lock (m_deleting_scene_object)
|
||||||
|
{
|
||||||
group.RemoveScriptInstances();
|
group.RemoveScriptInstances();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue