aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Mock/TestClient.cs
diff options
context:
space:
mode:
authorTom Grimshaw2010-05-17 14:14:19 -0700
committerTom Grimshaw2010-05-17 14:14:19 -0700
commit8f838c722da978da646fcef59a5af767840832bb (patch)
tree83b22c669659e26a16ca14a8ad6b6c292b805af1 /OpenSim/Tests/Common/Mock/TestClient.cs
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC_OLD-8f838c722da978da646fcef59a5af767840832bb.zip
opensim-SC_OLD-8f838c722da978da646fcef59a5af767840832bb.tar.gz
opensim-SC_OLD-8f838c722da978da646fcef59a5af767840832bb.tar.bz2
opensim-SC_OLD-8f838c722da978da646fcef59a5af767840832bb.tar.xz
When killing a zombie session, don't send the stop packet since it often has the effect of killing a newly connected client.
Diffstat (limited to '')
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index b07a072..05a8ff0 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -888,6 +888,10 @@ namespace OpenSim.Tests.Common.Mock
888 888
889 public void Close() 889 public void Close()
890 { 890 {
891 Close(true);
892 }
893 public void Close(bool sendStop)
894 {
891 m_scene.RemoveClient(AgentId); 895 m_scene.RemoveClient(AgentId);
892 } 896 }
893 897