From 9ea49d107d2df96de7c56e561ebd46b0f804bfa3 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 13 May 2017 15:58:35 +0100 Subject: fix wrong locking on unused path it case it does get uses. Thanks LaNani Sundara --- OpenSim/Framework/DoubleDictionaryThreadAbortSafe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Framework/DoubleDictionaryThreadAbortSafe.cs b/OpenSim/Framework/DoubleDictionaryThreadAbortSafe.cs index 55ec13e..fe20767 100644 --- a/OpenSim/Framework/DoubleDictionaryThreadAbortSafe.cs +++ b/OpenSim/Framework/DoubleDictionaryThreadAbortSafe.cs @@ -485,7 +485,7 @@ namespace OpenSim.Framework try {} finally { - rwLock.EnterUpgradeableReadLock(); + rwLock.EnterWriteLock(); gotWriteLock = true; } -- cgit v1.1