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 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | Fix another ReaderWriterLockSlim issue (diff) | |
download | opensim-SC_OLD-40e05f41098bdedac7296d84c9aa8d915c5c9ede.zip opensim-SC_OLD-40e05f41098bdedac7296d84c9aa8d915c5c9ede.tar.gz opensim-SC_OLD-40e05f41098bdedac7296d84c9aa8d915c5c9ede.tar.bz2 opensim-SC_OLD-40e05f41098bdedac7296d84c9aa8d915c5c9ede.tar.xz |
Spin the AddNewClient process off into a new thread to avoid locking up the LLUDPServer (and therefore the entire scene)
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-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 | { |