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.4.1
Justin Clark-Casey (justincc) 2012-06-29 00:36:50 +01:00
parent 0f6b7b6a41
commit 1a7be7b00e
1 changed files with 1 additions and 1 deletions

View File

@ -1270,7 +1270,7 @@ namespace OpenSim.Region.Physics.OdePlugin
public override void UnSubscribeEvents() 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 // 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 // to a race condition with the simulate loop