Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2015-05-14 05:17:15 -0400
committerDani Megert2015-05-14 05:17:15 -0400
commit387831443806cd4ba8579eda090dbba05026d3df (patch)
tree837b7055e9a79a8854d5ea094bf5223c19892b99
parent533b2dd6abfdbc17a97ba57e8f06aff9963c139f (diff)
downloadeclipse.platform.debug-387831443806cd4ba8579eda090dbba05026d3df.tar.gz
eclipse.platform.debug-387831443806cd4ba8579eda090dbba05026d3df.tar.xz
eclipse.platform.debug-387831443806cd4ba8579eda090dbba05026d3df.zip
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java
index 6bb242385..00597dbb4 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009, 2013 Wind River Systems and others.
+ * Copyright (c) 2009, 2015 Wind River Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -320,10 +320,12 @@ public class LaunchViewBreadcrumb extends AbstractBreadcrumb implements IDebugCo
@Override
public void dispose() {
- fBreadcrumbContextProvider = null;
fTreeViewerContextProvider.removeDebugContextListener(this);
fTreeViewer.removeLabelUpdateListener(this);
- fBreadcrumbContextProvider.dispose();
+ if (fBreadcrumbContextProvider != null) {
+ fBreadcrumbContextProvider.dispose();
+ fBreadcrumbContextProvider = null;
+ }
fViewer = null;
super.dispose();
}

Back to the top