Fix a regression where we stopped removing avatars from collision event reporting on logout, rather than stopping clearing their collision events.
This occurred in b18c8c8
(Thu May 17 2012).
This was a cause of very occasional race conditions and likely memory leakage as clients came and went from the region.
0.7.3-extended
parent
f49c850269
commit
f690acbfb6
|
@ -1270,7 +1270,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
|
||||
public override void UnSubscribeEvents()
|
||||
{
|
||||
CollisionEventsThisFrame.Clear();
|
||||
_parent_scene.RemoveCollisionEventReporting(this);
|
||||
|
||||
// Don't clear collision event reporting here. This is called directly from scene code and so can lead
|
||||
// to a race condition with the simulate loop
|
||||
|
|
Loading…
Reference in New Issue