aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/PhysicsActor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsActor.cs')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsActor.cs11
1 files changed, 2 insertions, 9 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index f44c160..7e88479 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -139,10 +139,9 @@ namespace OpenSim.Region.Physics.Manager
139 139
140 if (handler != null) 140 if (handler != null)
141 { 141 {
142 lock (handler) 142
143 {
144 handler(); 143 handler();
145 } 144
146 } 145 }
147 } 146 }
148 147
@@ -154,10 +153,7 @@ namespace OpenSim.Region.Physics.Manager
154 OutOfBounds handler = OnOutOfBounds; 153 OutOfBounds handler = OnOutOfBounds;
155 if (handler != null) 154 if (handler != null)
156 { 155 {
157 lock (handler)
158 {
159 handler(pos); 156 handler(pos);
160 }
161 } 157 }
162 } 158 }
163 159
@@ -167,10 +163,7 @@ namespace OpenSim.Region.Physics.Manager
167 163
168 if (handler != null) 164 if (handler != null)
169 { 165 {
170 lock (handler)
171 {
172 handler(e); 166 handler(e);
173 }
174 } 167 }
175 168
176 } 169 }