From 07774473af9955312b9f659a69eb857427a0f924 Mon Sep 17 00:00:00 2001
From: Teravus Ovares
Date: Wed, 20 Feb 2008 17:50:19 +0000
Subject: * Fixed a long standing race condition in physics events.   Could
 this be the source of the null on multicast_void: error?

---
 OpenSim/Region/Physics/Manager/PhysicsActor.cs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index b96ce27..088d85a 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -138,7 +138,7 @@ namespace OpenSim.Region.Physics.Manager
             RequestTerseUpdate handler = OnRequestTerseUpdate;
             if (handler != null)
             {
-                OnRequestTerseUpdate();
+                handler();
             }
         }
 
@@ -150,7 +150,7 @@ namespace OpenSim.Region.Physics.Manager
             OutOfBounds handler = OnOutOfBounds;
             if (handler != null)
             {
-                OnOutOfBounds(pos);
+                handler(pos);
             }
         }
 
@@ -159,7 +159,7 @@ namespace OpenSim.Region.Physics.Manager
             CollisionUpdate handler = OnCollisionUpdate;
             if (handler != null)
             {
-                OnCollisionUpdate(e);
+                handler(e);
             }
         }
 
-- 
cgit v1.1