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