Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlvaro Sanchez-Leon2015-01-27 18:16:37 +0000
committerAlvaro Sanchez-Leon2015-01-27 18:17:36 +0000
commitd95f95521e3578eee49b036ad457c5af8c682924 (patch)
tree14f3d7f4704dc8a96acf7270343060d7e4b52c14 /dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui
parentd0476b4ae0f0f7f10b5a352fa7a84343aeeaa4a0 (diff)
downloadorg.eclipse.cdt-d95f95521e3578eee49b036ad457c5af8c682924.tar.gz
org.eclipse.cdt-d95f95521e3578eee49b036ad457c5af8c682924.tar.xz
org.eclipse.cdt-d95f95521e3578eee49b036ad457c5af8c682924.zip
Bug 458566 - [visualizer] NPE Closing the visualizer when the debug view is not present
Diffstat (limited to 'dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui')
-rwxr-xr-xdsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizer.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizer.java
index e08c1e4dc1b..def42255879 100755
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizer.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizer.java
@@ -517,6 +517,10 @@ public class MulticoreVisualizer extends GraphicCanvasVisualizer
/** Cleans up actions. */
protected void disposeActions() {
+ if (!m_actionsInitialized) {
+ return;
+ }
+
if (m_resumeAction != null) {
m_resumeAction.dispose();
m_resumeAction = null;

Back to the top