Solve some crashesin AliEVE. fEcan is managed by ROOT
authorquark <quark@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Nov 2012 14:17:03 +0000 (14:17 +0000)
committerquark <quark@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Nov 2012 14:17:03 +0000 (14:17 +0000)
MONITOR/AliQAHistViewer.cxx

index ad39c01..06e9f75 100644 (file)
@@ -205,8 +205,8 @@ AliQAHistViewer::~AliQAHistViewer()
 {
    // Clean up main frame...
    Cleanup();
-   delete fEcan;
-   delete fQANavigator;
+  // if(fEcan) delete fEcan; fEcan = 0;
+   if(fQANavigator)   delete fQANavigator; fQANavigator = 0;
 }
 
 //_________________________________________________________________________