1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 14:25:37 +02:00

[298135] Fix removeServiceEventListener argument

This commit is contained in:
Anton Leherbauer 2010-01-13 13:58:50 +00:00
parent 5110be1b2c
commit 29c8d99049
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2008 Wind River Systems and others.
* Copyright (c) 2008, 2010 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
@ -104,7 +104,7 @@ public class DsfSuspendTrigger implements ISuspendTrigger {
fSession.getExecutor().execute(new DsfRunnable() {
public void run() {
if (fEventListenerRegisterd) {
fSession.removeServiceEventListener(this);
fSession.removeServiceEventListener(DsfSuspendTrigger.this);
}
}
});

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2006, 2009 Wind River Systems and others.
* Copyright (c) 2006, 2010 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
@ -173,7 +173,7 @@ public final class SteppingController {
fSession.getExecutor().execute(new DsfRunnable() {
public void run() {
if (fRunControl != null) {
getSession().removeServiceEventListener(this);
getSession().removeServiceEventListener(SteppingController.this);
}
}
});