Skip to content

Commit

Permalink
Fixed memory grow at SIM step
Browse files Browse the repository at this point in the history
  • Loading branch information
civanch committed Mar 28, 2023
1 parent 9283eb9 commit 84c9333
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SimG4Core/Application/src/TrackingAction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ void TrackingAction::PostUserTrackingAction(const G4Track* aTrack) {
<< aTrack->GetDefinition()->GetParticleName() << " ansestor= " << withAncestor
<< " saved= " << currentTrack_->saved() << " end point " << aTrack->GetPosition();
#endif
if(!isInHistory) { delete currentTrack_; }

EndOfTrack et(aTrack);
m_endOfTrackSignal(&et);
Expand Down

0 comments on commit 84c9333

Please sign in to comment.