Another TestClient fix

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2293 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-10-10 21:02:06 +00:00
parent 5457ff705c
commit 5fd194130d
2 changed files with 7 additions and 1 deletions

View File

@@ -243,7 +243,12 @@ namespace OpenMetaverse.TestClient
foreach (TestClient client in clientsCopy.Values)
{
ThreadPool.QueueUserWorkItem((WaitCallback)
delegate(object state) { client.DoCommand(cmd, fromAgentID); ++completed; });
delegate(object state)
{
Logger.Log(client.Commands[firstToken].Execute(args, fromAgentID),
Helpers.LogLevel.Info);
++completed;
});
}
while (completed < clientsCopy.Count)