Fix another ReaderWriterLockSlim issue

avinationmerge
Tom Grimshaw 2010-05-10 12:45:33 -07:00
parent 5814d16b58
commit 14a86de115
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }