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:
parent
337235a75e
commit
bb3e8a0067
1 changed files with 0 additions and 15 deletions
|
@ -220,21 +220,6 @@ public final class SteppingController implements IStepQueueManager
|
|||
*/
|
||||
public void removeSteppingControlParticipant(final ISteppingControlParticipant 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue