Prevent the texture downloader from locking a null object when a download

hits bad data
0.6.1-post-fixes
Melanie Thielker 2008-11-17 23:48:29 +00:00
parent 2b8915d679
commit 6fd8960064
1 changed files with 3 additions and 0 deletions

View File

@ -176,6 +176,9 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureSender
// See ITextureSender
public void UpdateRequest(int discardLevel, uint packetNumber)
{
if (download == null)
return;
lock (download)
{
if (discardLevel < download.DiscardLevel)