aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
diff options
context:
space:
mode:
authorTom Grimshaw2010-05-18 01:09:47 -0700
committerTom Grimshaw2010-05-18 01:09:47 -0700
commit91b1d17e5bd3ff6ed006744bc529b53a67af1a64 (patch)
tree0d903e6526fd66151a43ff86dd674fe28b120cec /OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
parentWhile examining our 10,10,10 issue I discovered that several threads were loc... (diff)
downloadopensim-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/Examples/SimpleModule/MyNpcCharacter.cs')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
index 84385ad..c454d1f 100644
--- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
@@ -825,6 +825,10 @@ namespace OpenSim.Region.Examples.SimpleModule
825 { 825 {
826 } 826 }
827 827
828 public void ProcessPendingPackets()
829 {
830 }
831
828 public void ProcessInPacket(Packet NewPack) 832 public void ProcessInPacket(Packet NewPack)
829 { 833 {
830 } 834 }