Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2015-05-10 17:34:46 +0000
committerSarika Sinha2015-05-12 13:43:21 +0000
commit1ec40db3a39becb9f1ba5ed2a285ec994ae5a345 (patch)
tree92776730e1f51829adce99e8403ac95440860e93
parent5f99c42f4b055029f9dd384dacdbd5921374ce20 (diff)
downloadeclipse.platform.debug-1ec40db3a39becb9f1ba5ed2a285ec994ae5a345.tar.gz
eclipse.platform.debug-1ec40db3a39becb9f1ba5ed2a285ec994ae5a345.tar.xz
eclipse.platform.debug-1ec40db3a39becb9f1ba5ed2a285ec994ae5a345.zip
Bug 466790 - LaunchView (Debug view) leaks closed instances via
BreadcrumbPage Change-Id: If54ace1cdd0f2717e445787e00a76654c6320cc4 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java
index 1b924ac76..3c8e295df 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java
@@ -9,6 +9,7 @@
* IBM Corporation - initial API and implementation
* Wind River - Pawel Piech - Busy status while updates in progress (Bug 206822)
* Pawel Piech (Wind River) - added a breadcrumb mode to Debug view (Bug 252677)
+ * Andrey Loskutov <loskutov@gmx.de> - fixed memory leak due the breadcrumb (Bug 466789)
*******************************************************************************/
package org.eclipse.debug.internal.ui.views.launch;
@@ -1109,6 +1110,9 @@ public class LaunchView extends AbstractDebugView
handler.dispose();
}
fHandlers.clear();
+ if (fBreadcrumbPage != null) {
+ fBreadcrumbPage.dispose();
+ }
super.dispose();
}

Back to the top