From 5feaff8524845d3475c02d1ba96465925e65e34a Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 30 Oct 2008 22:32:23 +0000 Subject: test: Extend malformed packet test to actually check that a valid packet can get through after the malformed ones have been sent --- OpenSim/Framework/ClientManager.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Framework/ClientManager.cs') diff --git a/OpenSim/Framework/ClientManager.cs b/OpenSim/Framework/ClientManager.cs index 4ac9b3c..3f83f5c 100644 --- a/OpenSim/Framework/ClientManager.cs +++ b/OpenSim/Framework/ClientManager.cs @@ -97,8 +97,10 @@ namespace OpenSim.Framework { IClientAPI client; bool tryGetRet = false; + lock (m_clients) tryGetRet = m_clients.TryGetValue(circuitCode, out client); + if (tryGetRet) { client.InPacket(packet); -- cgit v1.1