Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Cortell2010-04-15 15:50:53 +0000
committerJohn Cortell2010-04-15 15:50:53 +0000
commita93ec1e1d0064f6f28e04cdbc77ee3095b033698 (patch)
tree808cac00a25118be40d0bda4474362a627513e88 /dsf/org.eclipse.cdt.dsf.ui
parent0a65cfc7048ac6f2c9f0cbce8ced8127d94d1b2d (diff)
downloadorg.eclipse.cdt-a93ec1e1d0064f6f28e04cdbc77ee3095b033698.tar.gz
org.eclipse.cdt-a93ec1e1d0064f6f28e04cdbc77ee3095b033698.tar.xz
org.eclipse.cdt-a93ec1e1d0064f6f28e04cdbc77ee3095b033698.zip
Should call the backend object's clearDebugContext() before calling its dispose().
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf.ui')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyPart.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyPart.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyPart.java
index 22ba1fa778f..69b827c9536 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyPart.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyPart.java
@@ -1785,6 +1785,7 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
if (context != null) {
if (fBackend == null || !fBackend.supportsDebugContext(context)) {
if (fBackend != null) {
+ fBackend.clearDebugContext();
fBackend.dispose();
}
fBackend = (IDisassemblyBackend)context.getAdapter(IDisassemblyBackend.class);

Back to the top