From 4ced4fed33c35599502c67a060139475fadafdb6 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 1 Dec 2018 23:13:24 +0000 Subject: replace GetMeshModule and GetTextureModule --- .../ClientStack/Linden/Caps/WebFetchInvDescModule.cs | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs') diff --git a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs index ca940b5..c986233 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs @@ -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); - } } } } -- cgit v1.1