diff options
author | Tom Grimshaw | 2010-05-18 01:09:47 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-05-18 01:09:47 -0700 |
commit | 91b1d17e5bd3ff6ed006744bc529b53a67af1a64 (patch) | |
tree | 0d903e6526fd66151a43ff86dd674fe28b120cec /OpenSim/Region/OptionalModules/World/NPC | |
parent | While examining our 10,10,10 issue I discovered that several threads were loc... (diff) | |
download | opensim-SC_OLD-91b1d17e5bd3ff6ed006744bc529b53a67af1a64.zip opensim-SC_OLD-91b1d17e5bd3ff6ed006744bc529b53a67af1a64.tar.gz opensim-SC_OLD-91b1d17e5bd3ff6ed006744bc529b53a67af1a64.tar.bz2 opensim-SC_OLD-91b1d17e5bd3ff6ed006744bc529b53a67af1a64.tar.xz |
Fix for hanging on "Connecting to region".. caused by packets being processed before the presence has bound to receive events. Fixed this by adding packets to a queue and then processing them when the presence is ready.
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index 4323c94..b828357 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -839,6 +839,10 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
839 | { | 839 | { |
840 | } | 840 | } |
841 | 841 | ||
842 | public void ProcessPendingPackets() | ||
843 | { | ||
844 | } | ||
845 | |||
842 | public void ProcessInPacket(Packet NewPack) | 846 | public void ProcessInPacket(Packet NewPack) |
843 | { | 847 | { |
844 | } | 848 | } |