Prevent the texture downloader from locking a null object when a download
hits bad data0.6.1-post-fixes
parent
2b8915d679
commit
6fd8960064
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue