aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
authorDiva Canto2013-07-15 10:29:42 -0700
committerDiva Canto2013-07-15 10:29:42 -0700
commit60325f81d81f41ca6a23465468afa940aae397dd (patch)
treed529d02bda4380f288dabe3fffee60b399e27f83 /OpenSim/Framework/Util.cs
parentDocument obscure Groups config related to the user level required for creatin... (diff)
downloadopensim-SC_OLD-60325f81d81f41ca6a23465468afa940aae397dd.zip
opensim-SC_OLD-60325f81d81f41ca6a23465468afa940aae397dd.tar.gz
opensim-SC_OLD-60325f81d81f41ca6a23465468afa940aae397dd.tar.bz2
opensim-SC_OLD-60325f81d81f41ca6a23465468afa940aae397dd.tar.xz
This might address the following observed exception:
17:14:28 - [APPLICATION]: APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs Exception: System.InvalidOperationException: Operation is not valid due to the current state of the object at System.Collections.Generic.Queue`1[OpenSim.Region.ClientStack.Linden.WebFetchInvDescModule+aPollRequest].Peek () [0x00011] in /root/install/mono-3.1.0/mono/mcs/class/System/System.Collections.Generic/Queue.cs:158 at System.Collections.Generic.Queue`1[OpenSim.Region.ClientStack.Linden.WebFetchInvDescModule+aPollRequest].Dequeue () [0x00000] in /root/install/mono-3.1.0/mono/mcs/class/System/System.Collections.Generic/Queue.cs:140 at OpenSim.Framework.DoubleQueue`1[OpenSim.Region.ClientStack.Linden.WebFetchInvDescModule+aPollRequest].Dequeue (TimeSpan wait, OpenSim.Region.ClientStack.Linden.aPollRequest& res) [0x0004e] in /home/avacon/opensim_2013-07-14/OpenSim/Framework/Util.cs:2297
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r--OpenSim/Framework/Util.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index cafe103..8cfc4d4 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -2293,7 +2293,7 @@ namespace OpenSim.Framework
2293 { 2293 {
2294 if (m_highQueue.Count > 0) 2294 if (m_highQueue.Count > 0)
2295 res = m_highQueue.Dequeue(); 2295 res = m_highQueue.Dequeue();
2296 else 2296 else if (m_lowQueue.Count > 0)
2297 res = m_lowQueue.Dequeue(); 2297 res = m_lowQueue.Dequeue();
2298 2298
2299 if (m_highQueue.Count == 0 && m_lowQueue.Count == 0) 2299 if (m_highQueue.Count == 0 && m_lowQueue.Count == 0)