mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Prevent a null ref when an avatar login doesn't go as planned
This commit is contained in:
@@ -106,7 +106,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
g.ScheduleFullUpdateToAvatar(m_presence);
|
||||
}
|
||||
|
||||
while (m_partsUpdateQueue.Count > 0)
|
||||
while (m_partsUpdateQueue.Count != null && m_partsUpdateQueue.Count > 0)
|
||||
{
|
||||
SceneObjectPart part = m_partsUpdateQueue.Dequeue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user