Redundant file closing removed.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 May 2008 13:46:50 +0000 (13:46 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 May 2008 13:46:50 +0000 (13:46 +0000)
STEER/AliMCEventHandler.cxx

index 2398d80..5a5db61 100644 (file)
@@ -259,9 +259,9 @@ void AliMCEventHandler::ResetIO()
     delete fTreeE; fTreeE = 0;
 
 // Reset files
-    if (fFileE)  {fFileE->Close();  delete fFileE;  fFileE  = 0;}
-    if (fFileK)  {fFileK->Close();  delete fFileK;  fFileK  = 0;}
-    if (fFileTR) {fFileTR->Close(); delete fFileTR; fFileTR = 0;}
+    if (fFileE)  {delete fFileE;  fFileE  = 0;}
+    if (fFileK)  {delete fFileK;  fFileK  = 0;}
+    if (fFileTR) {delete fFileTR; fFileTR = 0;}
     fExtension="";
 }