mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Fix up some locking issues in task inventory. Don't use any prior versions in production!
This commit is contained in:
@@ -959,6 +959,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
if (m_inventorySerial == 0) // No inventory
|
||||
{
|
||||
client.SendTaskInventory(m_part.UUID, 0, new byte[0]);
|
||||
Items.LockItemsForRead(false);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -971,6 +972,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
xferManager.AddNewFile(m_inventoryFileName,
|
||||
m_inventoryFileData);
|
||||
Items.LockItemsForRead(false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user