diff options
author | Tom Grimshaw | 2010-05-11 09:28:46 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-05-11 09:28:46 -0700 |
commit | 40e05f41098bdedac7296d84c9aa8d915c5c9ede (patch) | |
tree | fb3d9b3e3f1cd6e719521aa6eafa02c5381c8401 | |
parent | Fix another ReaderWriterLockSlim issue (diff) | |
download | opensim-SC-40e05f41098bdedac7296d84c9aa8d915c5c9ede.zip opensim-SC-40e05f41098bdedac7296d84c9aa8d915c5c9ede.tar.gz opensim-SC-40e05f41098bdedac7296d84c9aa8d915c5c9ede.tar.bz2 opensim-SC-40e05f41098bdedac7296d84c9aa8d915c5c9ede.tar.xz |
Spin the AddNewClient process off into a new thread to avoid locking up the LLUDPServer (and therefore the entire scene)
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
909 | client.OnLogout += LogoutHandler; | 909 | client.OnLogout += LogoutHandler; |
910 | 910 | ||
911 | // Start the IClientAPI | 911 | // Start the IClientAPI |
912 | client.Start(); | 912 | // Spin it off so that it doesn't clog up the LLUDPServer |
913 | Util.FireAndForget(delegate(object o) { client.Start(); }); | ||
913 | } | 914 | } |
914 | else | 915 | else |
915 | { | 916 | { |