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
{
m_items.LockItemsForRead(false);
m_log.ErrorFormat(
"[PRIM 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);
}
m_items.LockItemsForWrite(false);
return -1;
}