diff options
author | Tom Grimshaw | 2010-05-17 14:14:19 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-05-17 14:14:19 -0700 |
commit | 8f838c722da978da646fcef59a5af767840832bb (patch) | |
tree | 83b22c669659e26a16ca14a8ad6b6c292b805af1 /OpenSim/Tests/Common/Mock | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-8f838c722da978da646fcef59a5af767840832bb.zip opensim-SC-8f838c722da978da646fcef59a5af767840832bb.tar.gz opensim-SC-8f838c722da978da646fcef59a5af767840832bb.tar.bz2 opensim-SC-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 'OpenSim/Tests/Common/Mock')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 4 |
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 | ||