diff options
author | Melanie Thielker | 2014-09-22 18:49:08 +0200 |
---|---|---|
committer | Melanie Thielker | 2014-09-22 18:49:08 +0200 |
commit | 0bfba122f0b9ea036d18020c64110d041ff56151 (patch) | |
tree | 231556779af9f41cbf947966c22a7ac74d9f3744 /OpenSim/Region/Framework | |
parent | A stab at brute force fixing the locking - one, make m_itemLock volatile, two, (diff) | |
download | opensim-SC-0bfba122f0b9ea036d18020c64110d041ff56151.zip opensim-SC-0bfba122f0b9ea036d18020c64110d041ff56151.tar.gz opensim-SC-0bfba122f0b9ea036d18020c64110d041ff56151.tar.bz2 opensim-SC-0bfba122f0b9ea036d18020c64110d041ff56151.tar.xz |
When a ghosted avatar is removed, also remove any remaining CAPS
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 55e7da4..769b4e8 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4752,6 +4752,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
4752 | if (m_clientManager.TryGetValue(agentID, out client)) | 4752 | if (m_clientManager.TryGetValue(agentID, out client)) |
4753 | { | 4753 | { |
4754 | m_clientManager.Remove(agentID); | 4754 | m_clientManager.Remove(agentID); |
4755 | if (CapsModule != null) | ||
4756 | CapsModule.RemoveCaps(agentID, 0); | ||
4755 | m_log.DebugFormat( "[SCENE]: Dead client for agent ID {0} was cleaned up in {1}", agentID, Name); | 4757 | m_log.DebugFormat( "[SCENE]: Dead client for agent ID {0} was cleaned up in {1}", agentID, Name); |
4756 | return true; | 4758 | return true; |
4757 | } | 4759 | } |