mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* Fixed a long standing race condition in physics events. Could this be the source of the null on multicast_void: error?
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user