Skip to content

Commit

Permalink
KGeoBag deinitialization (#92)
Browse files Browse the repository at this point in the history
* Delete KGInterface instance when components are deinitialized.

---------

Co-authored-by: Noah Oblath <nsoblath@mit.edu>
Co-authored-by: Penelope L. Slocum of group heeger <ps48@hep.hpc.yale.edu>
  • Loading branch information
3 people authored Dec 20, 2023
1 parent 3dbad7d commit c07cbb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Kassiopeia/Geometry/Source/KSGeoSpace.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ void KSGeoSpace::DeinitializeComponent()
for (tGeoSideIt = fSides.begin(); tGeoSideIt != fSides.end(); tGeoSideIt++) {
(*tGeoSideIt)->Deinitialize();
}

KGeoBag::KGInterface::DeleteInstance();

return;
}
Expand Down

0 comments on commit c07cbb3

Please sign in to comment.