mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
quick fix for a race condition.
This commit is contained in:
parent
3e2c4dadb3
commit
16d3e00a0f
1 changed files with 2 additions and 2 deletions
|
@ -227,6 +227,8 @@ MIPlugin.getDefault().debugLog(number++ + " " + cmd.toString());
|
|||
// Destroy any MI Inferior(Process)
|
||||
inferior.destroy();
|
||||
|
||||
getEventQueue().addItem(new MIExitEvent());
|
||||
|
||||
// send the exit(-gdb-exit).
|
||||
try {
|
||||
MIGDBExit exit = factory.createMIGDBExit();
|
||||
|
@ -234,8 +236,6 @@ MIPlugin.getDefault().debugLog(number++ + " " + cmd.toString());
|
|||
} catch (MIException e) {
|
||||
}
|
||||
|
||||
getEventQueue().addItem(new MIExitEvent());
|
||||
|
||||
// Close the input GDB prompt
|
||||
try {
|
||||
if (inChannel != null)
|
||||
|
|
Loading…
Add table
Reference in a new issue