GetAssets: we still need to service avatars that did left region

0.9.1.0-post-fixes
UbitUmarov 2018-12-04 21:56:39 +00:00
parent 037de89a75
commit deb0ab7400
2 changed files with 4 additions and 1 deletions

View File

@ -212,6 +212,7 @@ namespace OpenSim.Region.ClientStack.Linden
Watchdog.UpdateThread(); Watchdog.UpdateThread();
if (poolreq.reqID != UUID.Zero) if (poolreq.reqID != UUID.Zero)
poolreq.thepoll.Process(poolreq); poolreq.thepoll.Process(poolreq);
poolreq = null;
} }
Watchdog.UpdateThread(); Watchdog.UpdateThread();
} }
@ -323,7 +324,7 @@ namespace OpenSim.Region.ClientStack.Linden
return; return;
} }
} }
/* can't do this with current viewers; HG problem
// If the avatar is gone, don't bother to get the texture // If the avatar is gone, don't bother to get the texture
if(m_scene.GetScenePresence(Id) == null) if(m_scene.GetScenePresence(Id) == null)
{ {
@ -335,6 +336,7 @@ namespace OpenSim.Region.ClientStack.Linden
responses[requestID] = new APollResponse() { bytes = 0, response = curresponse }; responses[requestID] = new APollResponse() { bytes = 0, response = curresponse };
return; return;
} }
*/
} }
curresponse = m_getAssetHandler.Handle(requestinfo.request); curresponse = m_getAssetHandler.Handle(requestinfo.request);

View File

@ -403,6 +403,7 @@ namespace OpenSim.Region.ClientStack.Linden
Watchdog.UpdateThread(); Watchdog.UpdateThread();
if (poolreq.thepoll != null) if (poolreq.thepoll != null)
poolreq.thepoll.Process(poolreq); poolreq.thepoll.Process(poolreq);
poolreq = null;
} }
Watchdog.UpdateThread(); Watchdog.UpdateThread();
} }