diff options
author | Tom Grimshaw | 2010-05-10 12:45:33 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-05-10 12:45:33 -0700 |
commit | 14a86de115934e981e5c3e413821861434ccf5e8 (patch) | |
tree | 977839f2fc28d920971c0870fff2ab619fcac589 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-14a86de115934e981e5c3e413821861434ccf5e8.zip opensim-SC-14a86de115934e981e5c3e413821861434ccf5e8.tar.gz opensim-SC-14a86de115934e981e5c3e413821861434ccf5e8.tar.bz2 opensim-SC-14a86de115934e981e5c3e413821861434ccf5e8.tar.xz |
Fix another ReaderWriterLockSlim issue
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 62b44bd..c4cff12 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -840,12 +840,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
840 | } | 840 | } |
841 | else | 841 | else |
842 | { | 842 | { |
843 | m_items.LockItemsForRead(false); | ||
843 | m_log.ErrorFormat( | 844 | m_log.ErrorFormat( |
844 | "[PRIM INVENTORY]: " + | 845 | "[PRIM INVENTORY]: " + |
845 | "Tried to remove item ID {0} from prim {1}, {2} but the item does not exist in this inventory", | 846 | "Tried to remove item ID {0} from prim {1}, {2} but the item does not exist in this inventory", |
846 | itemID, m_part.Name, m_part.UUID); | 847 | itemID, m_part.Name, m_part.UUID); |
847 | } | 848 | } |
848 | m_items.LockItemsForWrite(false); | ||
849 | 849 | ||
850 | return -1; | 850 | return -1; |
851 | } | 851 | } |