tmf: Bug 490400: Leaking widgets due to incorrect cleanup in dispose()
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / internal / tmf / ui / viewers / piecharts / TmfPieChartViewer.java
index e387bb9a198f44de4c166e411ca1531cc8b22905..c734fdb305d32f1d32b944b4bc1ce1254a8a3fa0 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2015 Ericsson
+ * Copyright (c) 2015, 2016 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -196,17 +196,6 @@ public class TmfPieChartViewer extends Composite {
         setCurrentState(new PieChartViewerStateNoContentSelected(this));
     }
 
-    @Override
-    public void dispose() {
-        if (fGlobalPC != null) {
-            fGlobalPC.dispose();
-        }
-        if (fTimeRangePC != null) {
-            fTimeRangePC.dispose();
-        }
-        super.dispose();
-    }
-
     /**
      * Updates the data contained in the Global PieChart by using a Map.
      * Normally, this method is only called by the state machine.
This page took 0.024015 seconds and 5 git commands to generate.