mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Try to interrupt the inferior first before killing.
This commit is contained in:
parent
be809a8ebc
commit
f0942e76d7
1 changed files with 2 additions and 0 deletions
|
@ -156,6 +156,8 @@ public class MIInferior extends Process {
|
|||
CommandFactory factory = session.getCommandFactory();
|
||||
MIExecAbort abort = factory.createMIExecAbort();
|
||||
try {
|
||||
// Try to interrupt the inferior, first.
|
||||
interrupt();
|
||||
session.postCommand(abort);
|
||||
MIInfo info = abort.getMIInfo();
|
||||
} catch (MIException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue