More on HG inventory transfers. Move the FireAndForget higher up.

0.7.4.1
Diva Canto 2012-03-09 09:48:12 -08:00
parent f545d669de
commit 81869c4a3f
2 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
m_assMapper.Get(item.AssetID, sender, userAssetServer);
if (IsForeignUser(receiver, out userAssetServer) && userAssetServer != string.Empty && m_OutboundPermission)
Util.FireAndForget(delegate { m_assMapper.Post(item.AssetID, receiver, userAssetServer); });
m_assMapper.Post(item.AssetID, receiver, userAssetServer);
}
public override bool IsForeignUser(UUID userID, out string assetServerURL)

View File

@ -633,7 +633,7 @@ namespace OpenSim.Region.Framework.Scenes
{
IInventoryAccessModule invAccess = RequestModuleInterface<IInventoryAccessModule>();
if (invAccess != null)
invAccess.TransferInventoryAssets(itemCopy, senderId, recipient);
Util.FireAndForget(delegate { invAccess.TransferInventoryAssets(itemCopy, senderId, recipient); });
}
if (!Permissions.BypassPermissions())