Fix another ReaderWriterLockSlim issue
parent
5814d16b58
commit
14a86de115
|
@ -840,12 +840,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
m_items.LockItemsForRead(false);
|
||||||
m_log.ErrorFormat(
|
m_log.ErrorFormat(
|
||||||
"[PRIM INVENTORY]: " +
|
"[PRIM INVENTORY]: " +
|
||||||
"Tried to remove item ID {0} from prim {1}, {2} but the item does not exist in this inventory",
|
"Tried to remove item ID {0} from prim {1}, {2} but the item does not exist in this inventory",
|
||||||
itemID, m_part.Name, m_part.UUID);
|
itemID, m_part.Name, m_part.UUID);
|
||||||
}
|
}
|
||||||
m_items.LockItemsForWrite(false);
|
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue