]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/rec/AliHLTReconstructor.cxx
- AliHLTEsdManager: minor bufix -> correct error handling
[u/mrichter/AliRoot.git] / HLT / rec / AliHLTReconstructor.cxx
index 90552504f2e2b0c1c4deee76ccab42c749c17cfa..c409c782097deb225bb07b87de12c26903ff6ec6 100644 (file)
@@ -64,7 +64,7 @@ AliHLTReconstructor::~AliHLTReconstructor()
   AliHLTSystem* pSystem=GetInstance();
   if (pSystem) {
     AliDebug(0, Form("delete HLT system: status %#x", pSystem->GetStatusFlags()));
-    if (pSystem->CheckStatus(AliHLTSystem::kReady)) {
+    if (pSystem->CheckStatus(AliHLTSystem::kStarted)) {
       // send specific 'event' to execute the stop sequence
       pSystem->Reconstruct(0, NULL, NULL);
     }