]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Test on PHOSloader existence added to destr.
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 Sep 2004 09:53:36 +0000 (09:53 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 Sep 2004 09:53:36 +0000 (09:53 +0000)
PHOS/AliPHOSClusterizer.cxx

index d7af4c78590d5e3a60c0cb191c5c5734c1fd66cb..4fc4ab46d19a0b59c3c6d6cabeed72d0927c4a1b 100644 (file)
@@ -59,7 +59,8 @@ AliPHOSClusterizer::~AliPHOSClusterizer()
   // dtor
          
  //Remove this from the parental task before destroying
-  AliPHOSGetter::Instance()->PhosLoader()->CleanReconstructioner();
+  if(AliPHOSGetter::Instance()->PhosLoader())
+    AliPHOSGetter::Instance()->PhosLoader()->CleanReconstructioner();
 }