mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 344988: The implementations of IProcesses.terminate don't always complete the RequestMonitor
This commit is contained in:
parent
b956965539
commit
fecef62f25
2 changed files with 2 additions and 2 deletions
|
@ -367,7 +367,7 @@ public class GDBProcesses extends MIProcesses implements IGDBProcesses {
|
|||
Platform.getPreferencesService().getBoolean("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$
|
||||
IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB,
|
||||
true, null)) {
|
||||
fGdb.terminate(new RequestMonitor(ImmediateExecutor.getInstance(), null));
|
||||
fGdb.terminate(rm);
|
||||
} else if (thread instanceof IMIProcessDMContext) {
|
||||
getDebuggingContext(
|
||||
thread,
|
||||
|
|
|
@ -1191,7 +1191,7 @@ public class GDBProcesses_7_0 extends AbstractDsfService
|
|||
Platform.getPreferencesService().getBoolean("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$
|
||||
IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB,
|
||||
true, null))) {
|
||||
fCommandControl.terminate(new RequestMonitor(ImmediateExecutor.getInstance(), null));
|
||||
fCommandControl.terminate(rm);
|
||||
} else if (thread instanceof IMIProcessDMContext) {
|
||||
getDebuggingContext(
|
||||
thread,
|
||||
|
|
Loading…
Add table
Reference in a new issue