We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53ec5c4 commit b0a3f02Copy full SHA for b0a3f02
TEPEMGEN/TEpEmGen.cxx
@@ -78,6 +78,7 @@ TEpEmGen::~TEpEmGen()
78
// Destroys the object, deletes and disposes all TParticles currently on list.
79
fParticles->Delete();
80
delete fParticles;
81
+ fParticles = nullptr; // to prevent double deletion with TGenerator destructor
82
}
83
84
//______________________________________________________________________________
0 commit comments