diff options
author | Tom Grimshaw | 2010-05-17 14:14:19 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-05-17 14:32:21 -0700 |
commit | 6bc7e3429f9ac6cb57fbaa695223c3d76c189f77 (patch) | |
tree | 78d5187d6544f6d5c637978c58b43063ddde9581 /OpenSim/Tests/Common/Mock/TestClient.cs | |
parent | Merge branch 'master' of ssh://3dhosting.de/var/git/careminster (diff) | |
download | opensim-SC-6bc7e3429f9ac6cb57fbaa695223c3d76c189f77.zip opensim-SC-6bc7e3429f9ac6cb57fbaa695223c3d76c189f77.tar.gz opensim-SC-6bc7e3429f9ac6cb57fbaa695223c3d76c189f77.tar.bz2 opensim-SC-6bc7e3429f9ac6cb57fbaa695223c3d76c189f77.tar.xz |
Provide interface to prevent the client close function from sending the stop packet
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestClient.cs')
-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 68ac96a..752e9e1 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -882,6 +882,10 @@ namespace OpenSim.Tests.Common.Mock | |||
882 | 882 | ||
883 | public void Close() | 883 | public void Close() |
884 | { | 884 | { |
885 | Close(true); | ||
886 | } | ||
887 | public void Close(bool sendStop) | ||
888 | { | ||
885 | m_scene.RemoveClient(AgentId); | 889 | m_scene.RemoveClient(AgentId); |
886 | } | 890 | } |
887 | 891 | ||