Fix up some locking issues in task inventory. Don't use any prior versions in production!
parent
cf37b3b943
commit
32cc569b00
|
@ -959,6 +959,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (m_inventorySerial == 0) // No inventory
|
if (m_inventorySerial == 0) // No inventory
|
||||||
{
|
{
|
||||||
client.SendTaskInventory(m_part.UUID, 0, new byte[0]);
|
client.SendTaskInventory(m_part.UUID, 0, new byte[0]);
|
||||||
|
Items.LockItemsForRead(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -971,6 +972,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
{
|
{
|
||||||
xferManager.AddNewFile(m_inventoryFileName,
|
xferManager.AddNewFile(m_inventoryFileName,
|
||||||
m_inventoryFileData);
|
m_inventoryFileData);
|
||||||
|
Items.LockItemsForRead(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue