Patch #9146 (No Mantis)

Prevent an exception caused by inventory server fetch requests
0.6.0-stable
Melanie Thielker 2008-07-12 18:26:25 +00:00
parent 932ed5ec54
commit 4ff529bdaf
1 changed files with 4 additions and 3 deletions

View File

@ -619,7 +619,7 @@ namespace OpenSim.Framework.Communications.Cache
{
AddRequest(
new InventoryRequest(
Delegate.CreateDelegate(typeof(SendInventoryDescendentsDelegate), this, "SendInventoryDecendents"),
Delegate.CreateDelegate(typeof(SendInventoryDescendentsDelegate), this, "SendInventoryDecendents", false, false),
new object[] { client, folderID, fetchFolders, fetchItems }));
return true;
@ -670,7 +670,8 @@ namespace OpenSim.Framework.Communications.Cache
public void Execute()
{
m_delegate.DynamicInvoke(m_args);
if(m_delegate != null)
m_delegate.DynamicInvoke(m_args);
}
}
}
}