]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSClusterizer.cxx
Remove the task from the task folder in the dtor
[u/mrichter/AliRoot.git] / PHOS / AliPHOSClusterizer.cxx
index 5a8398a1282e7b8a04414ad4c882e03b33a483d3..d7af4c78590d5e3a60c0cb191c5c5734c1fd66cb 100644 (file)
@@ -27,6 +27,7 @@
 
 // --- AliRoot header files ---
 #include "AliPHOSClusterizer.h"
+#include "AliPHOSGetter.h" 
 
 ClassImp(AliPHOSClusterizer)
 
@@ -57,6 +58,8 @@ AliPHOSClusterizer::~AliPHOSClusterizer()
 {
   // dtor
          
+ //Remove this from the parental task before destroying
+  AliPHOSGetter::Instance()->PhosLoader()->CleanReconstructioner();
 }