aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs12
1 files changed, 9 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 353a24c..dc3d810 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -152,8 +152,14 @@ namespace OpenSim.Region.ClientStack
152 public void Close() 152 public void Close()
153 { 153 {
154 clientPingTimer.Stop(); 154 clientPingTimer.Stop();
155 155 try
156 m_scene.RemoveClient(AgentId); 156 {
157 m_scene.RemoveClient(AgentId);
158 }
159 catch (Exception e)
160 {
161 MainLog.Instance.Error("ClientView.cs:Close, exception: " + e.ToString());
162 }
157 163
158 ClientThread.Abort(); 164 ClientThread.Abort();
159 } 165 }
@@ -389,4 +395,4 @@ namespace OpenSim.Region.ClientStack
389 ClientThread.Abort(); 395 ClientThread.Abort();
390 } 396 }
391 } 397 }
392} \ No newline at end of file 398}