Skip to content

MuonTrackSteeringTools: Fix dangling refs in MuPatCandidateTool.

In MuPatCandidateTool, if we wait until the destructor to free the final set of garbage, then the garbage may contain pointers to Surface instances that have already been deleted. Fix by cleaning all garbage during finalize().

See ATLASRECTS-5715.

Merge request reports