aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Besedin2012-09-26 16:26:02 (EDT)
committerOleg Besedin2012-09-26 16:26:02 (EDT)
commiteca5e6419509d9fdef80653371ed6d491d753f89 (patch)
tree1f5939b37de3d3f682927889fe6e32ef706e8068
parente5657ae23fa549e6dd34b30723f9189317146c99 (diff)
downloadeclipse.platform.ui-eca5e6419509d9fdef80653371ed6d491d753f89.zip
eclipse.platform.ui-eca5e6419509d9fdef80653371ed6d491d753f89.tar.gz
eclipse.platform.ui-eca5e6419509d9fdef80653371ed6d491d753f89.tar.bz2
Bug 389250 - Lots of stuff leaked when closing and reopening views
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java
index 4845c2c..0bb0485 100644
--- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java
+++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java
@@ -634,10 +634,6 @@ public class StackRenderer extends LazyStackRenderer {
ToolBar vmTB = getViewMenuTB(ctf);
if (vmTB != null && !vmTB.isDisposed())
vmTB.dispose();
- if (viewMenuImage != null && !viewMenuImage.isDisposed()) {
- viewMenuImage.dispose();
- viewMenuImage = null;
- }
}
public void clearTR(CTabFolder ctf) {