1
0
Fork 0
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:
Alain Magloire 2002-09-19 01:40:45 +00:00
parent be809a8ebc
commit f0942e76d7

View file

@ -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) {