Spin the AddNewClient process off into a new thread to avoid locking up the LLUDPServer (and therefore the entire scene)

This commit is contained in:
Tom Grimshaw
2010-05-11 09:28:46 -07:00
parent 14a86de115
commit 40e05f4109

View File

@@ -909,7 +909,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
client.OnLogout += LogoutHandler;
// Start the IClientAPI
client.Start();
// Spin it off so that it doesn't clog up the LLUDPServer
Util.FireAndForget(delegate(object o) { client.Start(); });
}
else
{