mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +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)
|
// Destroy any MI Inferior(Process)
|
||||||
inferior.destroy();
|
inferior.destroy();
|
||||||
|
|
||||||
|
getEventQueue().addItem(new MIExitEvent());
|
||||||
|
|
||||||
// send the exit(-gdb-exit).
|
// send the exit(-gdb-exit).
|
||||||
try {
|
try {
|
||||||
MIGDBExit exit = factory.createMIGDBExit();
|
MIGDBExit exit = factory.createMIGDBExit();
|
||||||
|
@ -234,8 +236,6 @@ MIPlugin.getDefault().debugLog(number++ + " " + cmd.toString());
|
||||||
} catch (MIException e) {
|
} catch (MIException e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
getEventQueue().addItem(new MIExitEvent());
|
|
||||||
|
|
||||||
// Close the input GDB prompt
|
// Close the input GDB prompt
|
||||||
try {
|
try {
|
||||||
if (inChannel != null)
|
if (inChannel != null)
|
||||||
|
|
Loading…
Add table
Reference in a new issue