Call client.Start() sunchronously. Calling thos async avoids some stuttering
when people log in, but fatally screws up money.avinationmerge
parent
c87e6a289c
commit
233c872d24
|
@ -900,7 +900,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
|
|
||||||
// Start the IClientAPI
|
// Start the IClientAPI
|
||||||
// Spin it off so that it doesn't clog up the LLUDPServer
|
// Spin it off so that it doesn't clog up the LLUDPServer
|
||||||
Util.FireAndForget(delegate(object o) { client.Start(); });
|
//Util.FireAndForget(delegate(object o) { client.Start(); });
|
||||||
|
|
||||||
|
// NOTE: DO NOT CALL THIS ASYNCHRONOUSLY!!!!!
|
||||||
|
// This method will ultimately cause the modules to hook
|
||||||
|
// client events in OnNewClient. If they can't do this
|
||||||
|
// before further packets are processed, packets WILL BE LOST.
|
||||||
|
// This includes the all-important EconomyDataRequest!
|
||||||
|
// So using FireAndForget here WILL screw up money. Badly.
|
||||||
|
// You have been warned!
|
||||||
|
client.Start();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue