Guard against null ref

cpu-performance
Diva Canto 2013-07-15 12:33:31 -07:00
parent b060ce96d9
commit 687c1a420a
1 changed files with 2 additions and 1 deletions

View File

@ -351,7 +351,8 @@ namespace OpenSim.Region.ClientStack.Linden
aPollRequest poolreq = m_queue.Dequeue();
poolreq.thepoll.Process(poolreq);
if (poolreq != null && poolreq.thepoll != null)
poolreq.thepoll.Process(poolreq);
}
}
}