1
0
Fork 0
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:
Marc Khouzam 2011-05-06 15:30:40 +00:00
parent b956965539
commit fecef62f25
2 changed files with 2 additions and 2 deletions

View file

@ -367,7 +367,7 @@ public class GDBProcesses extends MIProcesses implements IGDBProcesses {
Platform.getPreferencesService().getBoolean("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$ Platform.getPreferencesService().getBoolean("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$
IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB,
true, null)) { true, null)) {
fGdb.terminate(new RequestMonitor(ImmediateExecutor.getInstance(), null)); fGdb.terminate(rm);
} else if (thread instanceof IMIProcessDMContext) { } else if (thread instanceof IMIProcessDMContext) {
getDebuggingContext( getDebuggingContext(
thread, thread,

View file

@ -1191,7 +1191,7 @@ public class GDBProcesses_7_0 extends AbstractDsfService
Platform.getPreferencesService().getBoolean("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$ Platform.getPreferencesService().getBoolean("org.eclipse.cdt.dsf.gdb.ui", //$NON-NLS-1$
IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB, IGdbDebugPreferenceConstants.PREF_AUTO_TERMINATE_GDB,
true, null))) { true, null))) {
fCommandControl.terminate(new RequestMonitor(ImmediateExecutor.getInstance(), null)); fCommandControl.terminate(rm);
} else if (thread instanceof IMIProcessDMContext) { } else if (thread instanceof IMIProcessDMContext) {
getDebuggingContext( getDebuggingContext(
thread, thread,