From: hristov Date: Mon, 7 Apr 2003 13:29:27 +0000 (+0000) Subject: Removing the module from the list of modules in the destructor X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=bbcea4df3a5d83d47c9b3e1e1240fba855b57d69 Removing the module from the list of modules in the destructor --- diff --git a/STEER/AliModule.cxx b/STEER/AliModule.cxx index 5f2296434e2..11884bcd777 100644 --- a/STEER/AliModule.cxx +++ b/STEER/AliModule.cxx @@ -136,6 +136,9 @@ AliModule::~AliModule() // Destructor // + // Remove this Module from the list of Modules + gAlice->Modules()->Remove(this); + // Delete ROOT geometry if(fNodes) { fNodes->Clear();