diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index 89c4f11..bb8b935 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -934,6 +934,11 @@ namespace OpenSim.Tests.Common.Mock | |||
934 | 934 | ||
935 | public void Close() | 935 | public void Close() |
936 | { | 936 | { |
937 | Close(false); | ||
938 | } | ||
939 | |||
940 | public void Close(bool force) | ||
941 | { | ||
937 | // Fire the callback for this connection closing | 942 | // Fire the callback for this connection closing |
938 | // This is necesary to get the presence detector to notice that a client has logged out. | 943 | // This is necesary to get the presence detector to notice that a client has logged out. |
939 | if (OnConnectionClosed != null) | 944 | if (OnConnectionClosed != null) |