diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/ClientManager.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Framework/ClientManager.cs b/OpenSim/Framework/ClientManager.cs index aefe425..fd5f87f 100644 --- a/OpenSim/Framework/ClientManager.cs +++ b/OpenSim/Framework/ClientManager.cs | |||
@@ -134,6 +134,20 @@ namespace OpenSim.Framework | |||
134 | } | 134 | } |
135 | } | 135 | } |
136 | 136 | ||
137 | public void Remove(UUID key) | ||
138 | { | ||
139 | lock (m_writeLock) | ||
140 | { | ||
141 | IClientAPI client; | ||
142 | |||
143 | if (m_dict.TryGetValue(key, out client)) | ||
144 | { | ||
145 | m_dict = m_dict.Delete(key); | ||
146 | m_dict2 = m_dict2.Delete(client.RemoteEndPoint); | ||
147 | } | ||
148 | } | ||
149 | } | ||
150 | |||
137 | /// <summary> | 151 | /// <summary> |
138 | /// Resets the client collection | 152 | /// Resets the client collection |
139 | /// </summary> | 153 | /// </summary> |