mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Prevent the texture downloader from locking a null object when a download
hits bad data
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user