]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing the module from the list of modules in the destructor
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 Apr 2003 13:29:27 +0000 (13:29 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 Apr 2003 13:29:27 +0000 (13:29 +0000)
STEER/AliModule.cxx

index 5f2296434e2cc96b9ff89900cf592ce22b31303e..11884bcd777b202cf4c97e703c3a5886e4f96a28 100644 (file)
@@ -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();