replace GetMeshModule and GetTextureModule

This commit is contained in:
UbitUmarov
2018-12-01 23:13:24 +00:00
parent 27dfdcf1fa
commit 4ced4fed33
8 changed files with 358 additions and 506 deletions

View File

@@ -398,22 +398,13 @@ namespace OpenSim.Region.ClientStack.Linden
while (true)
{
APollRequest poolreq;
if (!m_queue.TryTake(out poolreq, 4500) || poolreq == null || poolreq.thepoll == null)
if (m_queue.TryTake(out poolreq, 4500))
{
Watchdog.UpdateThread();
continue;
if (poolreq.thepoll != null)
poolreq.thepoll.Process(poolreq);
}
Watchdog.UpdateThread();
try
{
poolreq.thepoll.Process(poolreq);
}
catch (Exception e)
{
m_log.ErrorFormat(
"[INVENTORY]: Failed to process queued inventory Exception {0}", e.Message);
}
}
}
}