]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTPluginBase.cxx
fixing HLT re-initialization
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTPluginBase.cxx
index 3f6c8fb603a8a0f6d181cb801d01f37961a6cb56..ad19cb308e592479116c8dd8dd6e5156843f0b2e 100644 (file)
@@ -44,6 +44,7 @@ AliHLTPluginBase::~AliHLTPluginBase()
   // see header file for class documentation
   if (--fNofInstances<=0) {
     delete fpSystem;
+    fpSystem=NULL;
 
     // 2010-04-07 not sure whether this is the best place for
     // the global cleanup of memory pages. In case of AliReconstruction
@@ -53,7 +54,6 @@ AliHLTPluginBase::~AliHLTPluginBase()
     // when we arrive at this point.
     AliHLTDataBuffer::AliHLTRawPage::GlobalClean();
   }
-  fpSystem=NULL;
 }
 
 void AliHLTPluginBase::InitInstance()