From 40e05f41098bdedac7296d84c9aa8d915c5c9ede Mon Sep 17 00:00:00 2001 From: Tom Grimshaw Date: Tue, 11 May 2010 09:28:46 -0700 Subject: Spin the AddNewClient process off into a new thread to avoid locking up the LLUDPServer (and therefore the entire scene) --- OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 41e41e4..d9aecd8 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs @@ -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 { -- cgit v1.1