Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Cortell2010-04-15 13:54:06 +0000
committerJohn Cortell2010-04-15 13:54:06 +0000
commit0a65cfc7048ac6f2c9f0cbce8ced8127d94d1b2d (patch)
treede23064df076d78686fb54dedf79e6d510bac8c9 /dsf/org.eclipse.cdt.dsf.ui
parent17a3b5142fbd8abdb47402c4453d637cf6f0c30d (diff)
downloadorg.eclipse.cdt-0a65cfc7048ac6f2c9f0cbce8ced8127d94d1b2d.tar.gz
org.eclipse.cdt-0a65cfc7048ac6f2c9f0cbce8ced8127d94d1b2d.tar.xz
org.eclipse.cdt-0a65cfc7048ac6f2c9f0cbce8ced8127d94d1b2d.zip
[309310] Disassembly view refactoring for CDI left Dsf's implementation with broken DSF event listeners
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/DisassemblyBackendDsf.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyBackendDsf.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyBackendDsf.java
index a978cc1a05a..00f45794407 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyBackendDsf.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyBackendDsf.java
@@ -149,7 +149,7 @@ public class DisassemblyBackendDsf implements IDisassemblyBackend, SessionEndedL
try {
prevSession.getExecutor().execute(new DsfRunnable() {
public void run() {
- prevSession.removeServiceEventListener(this);
+ prevSession.removeServiceEventListener(DisassemblyBackendDsf.this);
}
});
} catch (RejectedExecutionException e) {
@@ -171,7 +171,7 @@ public class DisassemblyBackendDsf implements IDisassemblyBackend, SessionEndedL
try {
newSession.getExecutor().execute(new DsfRunnable() {
public void run() {
- newSession.removeServiceEventListener(this);
+ newSession.addServiceEventListener(DisassemblyBackendDsf.this, null);
}
});
} catch (RejectedExecutionException e) {
@@ -208,7 +208,7 @@ public class DisassemblyBackendDsf implements IDisassemblyBackend, SessionEndedL
try {
session.getExecutor().execute(new DsfRunnable() {
public void run() {
- session.removeServiceEventListener(this);
+ session.removeServiceEventListener(DisassemblyBackendDsf.this);
}
});
} catch (RejectedExecutionException e) {

Back to the top