diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 2cdc4b3..7d8cbf5 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3384,9 +3384,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
3384 | } | 3384 | } |
3385 | else | 3385 | else |
3386 | { | 3386 | { |
3387 | // We remove the acd up here to avoid later raec conditions if two RemoveClient() calls occurred | 3387 | // We remove the acd up here to avoid later race conditions if two RemoveClient() calls occurred |
3388 | // simultaneously. | 3388 | // simultaneously. |
3389 | m_authenticateHandler.RemoveCircuit(acd.circuitcode); | 3389 | // We also need to remove by agent ID since NPCs will have no circuit code. |
3390 | m_authenticateHandler.RemoveCircuit(agentID); | ||
3390 | } | 3391 | } |
3391 | } | 3392 | } |
3392 | 3393 | ||