diff options
author | UbitUmarov | 2016-08-22 07:24:58 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-22 07:24:58 +0100 |
commit | 2d4d1adb4df94fbe57dfbaa0ea834021da6c786d (patch) | |
tree | 3febbbb4d71893a9f9b71b0b5282fe4f7faca058 /OpenSim/Region/CoreModules/Scripting | |
parent | minor locking issue (diff) | |
download | opensim-SC_OLD-2d4d1adb4df94fbe57dfbaa0ea834021da6c786d.zip opensim-SC_OLD-2d4d1adb4df94fbe57dfbaa0ea834021da6c786d.tar.gz opensim-SC_OLD-2d4d1adb4df94fbe57dfbaa0ea834021da6c786d.tar.bz2 opensim-SC_OLD-2d4d1adb4df94fbe57dfbaa0ea834021da6c786d.tar.xz |
locking issue
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs index 68ca2ad..483c25f 100644 --- a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs | |||
@@ -559,9 +559,9 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm | |||
559 | return coll[0].GetHandle(); | 559 | return coll[0].GetHandle(); |
560 | } | 560 | } |
561 | 561 | ||
562 | if (m_curlisteners < m_maxlisteners) | 562 | lock (m_listeners) |
563 | { | 563 | { |
564 | lock (m_listeners) | 564 | if (m_curlisteners < m_maxlisteners) |
565 | { | 565 | { |
566 | int newHandle = GetNewHandle(itemID); | 566 | int newHandle = GetNewHandle(itemID); |
567 | 567 | ||