1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Follow-up fix for 214386 to avoid RejectedExecutionException during AbstractDebugVMAdapter.dispose()

This commit is contained in:
Anton Leherbauer 2008-07-16 11:45:13 +00:00
parent 337235a75e
commit bb3e8a0067

View file

@ -220,21 +220,6 @@ public final class SteppingController implements IStepQueueManager
*/ */
public void removeSteppingControlParticipant(final ISteppingControlParticipant participant) { public void removeSteppingControlParticipant(final ISteppingControlParticipant participant) {
fParticipants.remove(participant); fParticipants.remove(participant);
// remove participant from steps in progress
if (fSynchronizedStepping) {
getExecutor().execute(new DsfRunnable() {
public void run() {
for (IExecutionDMContext disabledCtx : fStepInProgress.keySet()) {
List<ISteppingControlParticipant> participants= fStepInProgress.get(disabledCtx);
if (participants != null) {
participants.remove(participant);
if (participants.isEmpty()) {
fStepInProgress.remove(disabledCtx);
}
}
}
}});
}
} }
/** /**