aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorMelanie Thielker2010-07-02 09:40:58 +0200
committerMelanie Thielker2010-07-02 09:40:58 +0200
commit233c872d24c8cc9d0b883ff8f816f67e57638042 (patch)
treee7b566bc6ab4daa6c46070241840ddb20f918ed9 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
parentClean up IMoneyModule and adjust the other modules to the changes (diff)
downloadopensim-SC_OLD-233c872d24c8cc9d0b883ff8f816f67e57638042.zip
opensim-SC_OLD-233c872d24c8cc9d0b883ff8f816f67e57638042.tar.gz
opensim-SC_OLD-233c872d24c8cc9d0b883ff8f816f67e57638042.tar.bz2
opensim-SC_OLD-233c872d24c8cc9d0b883ff8f816f67e57638042.tar.xz
Call client.Start() sunchronously. Calling thos async avoids some stuttering
when people log in, but fatally screws up money.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index cda461c..f2bcc0b 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -900,7 +900,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP
900 900
901 // Start the IClientAPI 901 // Start the IClientAPI
902 // Spin it off so that it doesn't clog up the LLUDPServer 902 // Spin it off so that it doesn't clog up the LLUDPServer
903 Util.FireAndForget(delegate(object o) { client.Start(); }); 903 //Util.FireAndForget(delegate(object o) { client.Start(); });
904
905 // NOTE: DO NOT CALL THIS ASYNCHRONOUSLY!!!!!
906 // This method will ultimately cause the modules to hook
907 // client events in OnNewClient. If they can't do this
908 // before further packets are processed, packets WILL BE LOST.
909 // This includes the all-important EconomyDataRequest!
910 // So using FireAndForget here WILL screw up money. Badly.
911 // You have been warned!
912 client.Start();
904 } 913 }
905 else 914 else
906 { 915 {