aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/SimClient.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/SimClient.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim.RegionServer/SimClient.cs b/OpenSim.RegionServer/SimClient.cs
index 1564238..770573a 100644
--- a/OpenSim.RegionServer/SimClient.cs
+++ b/OpenSim.RegionServer/SimClient.cs
@@ -813,12 +813,13 @@ namespace OpenSim
813 } 813 }
814 814
815 m_gridServer.LogoutSession(this.SessionID, this.AgentID, this.CircuitCode); 815 m_gridServer.LogoutSession(this.SessionID, this.AgentID, this.CircuitCode);
816 lock (m_world.Entities) 816 /*lock (m_world.Entities)
817 { 817 {
818 m_world.Entities.Remove(this.AgentID); 818 m_world.Entities.Remove(this.AgentID);
819 } 819 }*/
820 m_world.RemoveViewerAgent(this);
820 //need to do other cleaning up here too 821 //need to do other cleaning up here too
821 m_clientThreads.Remove(this.CircuitCode); //this.userEP); 822 m_clientThreads.Remove(this.CircuitCode);
822 m_application.RemoveClientCircuit(this.CircuitCode); 823 m_application.RemoveClientCircuit(this.CircuitCode);
823 this.ClientThread.Abort(); 824 this.ClientThread.Abort();
824 return true; 825 return true;